Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Fixed GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
AptiviCEO committed Jul 3, 2023
1 parent 9c5da31 commit 475daaf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
with:
dotnet-version: '6.0.x'
- name: Solution Compilation
run: dotnet build --configuration Debug "SharpLyrics.sln"
run: dotnet build --configuration Debug "SemanVer.sln"
- uses: actions/upload-artifact@v3
if: success()
with:
name: tr-build
path: "SharpLyrics/bin/Debug/"
path: "SemanVer/bin/Debug/"

notify:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
with:
dotnet-version: '6.0.x'
- name: Solution Compilation
run: dotnet build --configuration Debug "SharpLyrics.sln"
run: dotnet build --configuration Debug "SemanVer.sln"
- uses: actions/upload-artifact@v3
if: success()
with:
name: tr-build
path: "SharpLyrics/bin/Debug/"
path: "SemanVer/bin/Debug/"

notify:

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
- name: MSBuild Installation
uses: microsoft/setup-msbuild@v1.3
- name: Dependency Restoration
run: nuget restore "SharpLyrics.sln"
run: nuget restore "SemanVer.sln"
- name: Solution Compilation
run: msbuild "SharpLyrics.sln" /p:Configuration=Release
run: msbuild "SemanVer.sln" /p:Configuration=Release
- name: NuGet Preparation
run: nuget setApiKey ${{ secrets.NUGET_APIKEY }}
- name: Package Publication
run: |
$path = "SharpLyrics\bin\Release"
$FileName = Get-ChildItem -Path $path -Name -Filter "SharpLyrics.*"
$path = "SemanVer\bin\Release"
$FileName = Get-ChildItem -Path $path -Name -Filter "SemanVer.*"
nuget push "$path\$FileName" -source "nuget.org"

0 comments on commit 475daaf

Please sign in to comment.