Skip to content
Merged

ffs #24

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:

- name: Get last char shortened GITHUB_RUN_ID
id: slug
run: echo "::set-output name=github_run_id::$(echo ${$GITHUB_RUN_ID} | cut -c1-9)"
run: echo "::set-output name=RUNID::$(echo ${$GITHUB_RUN_ID} | cut -c1-9)"

- name: Build ${{ matrix.package-name }} project and pack NuGet package
run: dotnet pack src/${{ matrix.package-name }}/${{ matrix.package-name }}.csproj -c Release -o out-${{ matrix.package-name }} -p:PackageVersion=0.1.${{ steps.slug.outputs.github_run_id }}.$GITHUB_RUN_NUMBER-prerelease
run: dotnet pack src/${{ matrix.package-name }}/${{ matrix.package-name }}.csproj -c Release -o out-${{ matrix.package-name }} -p:PackageVersion=0.1.${{ steps.slug.outputs.RUNID }}.$GITHUB_RUN_NUMBER-prerelease

- name: Push generated package to GitHub Packages registry
run: dotnet nuget push out-${{ matrix.package-name }}/*.nupkg --skip-duplicate -n --api-key ${{secrets.GITHUB_TOKEN}}