Skip to content

Commit

Permalink
remove redundant commands
Browse files Browse the repository at this point in the history
  • Loading branch information
asv-soft-u05 committed May 8, 2024
1 parent fc58936 commit be33f95
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,13 @@ jobs:
env:
TAG: ${{ github.ref_name }}
run: echo "VERSION=${TAG#v}" >> $GITHUB_ENV

- name: Check version first
run: |
echo "Version to be used: $VERSION"
- name: List all environment variables
run: |
Get-ChildItem env:

- name: Pack package
run: dotnet pack ./src/Asv.Audio/Asv.Audio.csproj -c Release /p:Version=${VERSION} --no-build -o .

- name: List output files
run: ls -la

- name: Check version second
run: |
echo "Version to be used: $VERSION"
- name: Push package to GitHub
run: dotnet nuget push Asv.Audio.${VERSION}.nupkg --api-key ${{ secrets.GIHUB_NUGET_AUTH_TOKEN }} --skip-duplicate --source "https://nuget.pkg.github.com/asv-soft/index.json"

Expand Down

0 comments on commit be33f95

Please sign in to comment.