Build release artifacts #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build release artifacts | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
define-version: | ||
uses: ./.github/workflows/reusable-tag-version.yaml | ||
Check failure on line 9 in .github/workflows/build-release.yaml GitHub Actions / Build release artifactsInvalid workflow file
|
||
build-nuget-package: | ||
needs: | ||
- define-version | ||
uses: ./.github/workflows/reusable-build-nuget-package.yaml | ||
with: | ||
version: ${{ needs.define-version.outputs.version }} | ||
configuration: Release | ||
publish-pedersen-nuget: | ||
name: Publish PedersenCommitment Nuget package | ||
needs: | ||
- build-nuget-package | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: pedersen-nuget | ||
path: build | ||
- name: Publish | ||
shell: bash | ||
run: dotnet nuget push build/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json |