Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
stamepicmorg committed Sep 29, 2024
1 parent 4c36646 commit 928a4af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,25 @@ jobs:

- name: Pack NuGet package [Debug]
if: matrix.configuration == 'Debug'
run: dotnet pack --configuration Debug --output ./nupkg
run: dotnet pack --configuration Debug --output "${{ github.workspace }}/src/nupkg"

- name: Pack NuGet package [Release]
if: matrix.configuration == 'Release'
run: dotnet pack --configuration Release --output ./nupkg
run: dotnet pack --configuration Release --output "${{ github.workspace }}/src/nupkg"

- name: Upload the artifact [Debug]
if: matrix.configuration == 'Debug'
uses: actions/upload-artifact@v4
with:
name: debug.kasthack.binding.wf.${{ env.PROJECT_VERSION }}.nupkg
path: nupkg\kasthack.binding.wf.${{ env.PROJECT_VERSION }}.nupkg
path: "${{ github.workspace }}/src/nupkg/kasthack.binding.wf.${{ env.PROJECT_VERSION }}.nupkg"

- name: Upload the artifact [Release]
if: matrix.configuration == 'Release'
uses: actions/upload-artifact@v4
with:
name: debug.kasthack.binding.wf.${{ env.PROJECT_VERSION }}.nupkg
path: nupkg\kasthack.binding.wf.${{ env.PROJECT_VERSION }}.nupkg
path: ${{ github.workspace }}/src/nupkg/kasthack.binding.wf.${{ env.PROJECT_VERSION }}.nupkg"

# - name: Push NuGet package
# if: matrix.configuration == 'Release'
Expand All @@ -91,6 +91,6 @@ jobs:
with:
tag_name: ${{ env.PROJECT_VERSION }}
name: ${{ env.PROJECT_VERSION }}
files: ./nupkg/*.nupkg
files: ${{ github.workspace }}/src/nupkg/*.nupkg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 928a4af

Please sign in to comment.