Skip to content

Commit

Permalink
fix: ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroKaku committed Jan 25, 2025
1 parent 5b7613c commit 774c65a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
name: Windows
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Version
if: contains(github.ref, 'tags/')
shell: pwsh
Expand Down Expand Up @@ -56,8 +59,7 @@ jobs:
- name: Build
shell: pwsh
run: |
./Publish.bat
if %ERRORLEVEL% NEQ 0 exit /B %ERRORLEVEL%
& "${{github.workspace}}\Publish.bat"
- name: Build NuGet
if: contains(github.ref, 'tags/')
Expand All @@ -70,14 +72,12 @@ jobs:
- name: Build Zip
if: contains(github.ref, 'tags/')
working-directory: ${{github.workspace}}
shell: cmd
run: |
7z a -tzip -r "./Musa.libwsk-${{ env.BuildVersion }}.zip" "./Publish/*"
- name: Publish NuGet
if: contains(github.ref, 'tags/')
working-directory: ${{github.workspace}}
shell: cmd
run: |
NuGet push Musa.libwsk.${{env.BuildVersion}}.nupkg -ApiKey ${{ secrets.NUGET_TOKEN }} -Source https://api.nuget.org/v3/index.json
Expand Down

0 comments on commit 774c65a

Please sign in to comment.