Skip to content

Commit

Permalink
Fix Branch Name
Browse files Browse the repository at this point in the history
  • Loading branch information
justindbaur committed Aug 9, 2023
1 parent d550c96 commit 42d5021
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,12 @@ jobs:
- name: Clean Branch Name
run: echo "CLEAN_BRANCH_NAME=${BRANCH_NAME/\//-}" >> $GITHUB_ENV
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

- name: Pack NuGet Packages
run: dotnet pack --no-build --version-suffix "ci-${{ env.CLEAN_BRANCH_NAME }}-${{ github.run_id }}"
env:
CLEAN_BRANCH_NAME: ${{ env.CLEAN_BRANCH_NAME }}

- name: Publish NuGet Packages
run: dotnet nuget push **/*.nupkg --source https://nuget.pkg.github.com/passwordless/index.json --api-key ${{env.GITHUB_TOKEN}}
Expand Down

0 comments on commit 42d5021

Please sign in to comment.