Skip to content
Merged
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
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
MINVERBUILDMETADATA: build.${{ github.run_id }}.${{ github.run_attempt}}
permissions:
id-token: write
contents: read
contents: write
checks: write
Comment thread
jbogard marked this conversation as resolved.
jobs:
build:
Expand Down Expand Up @@ -85,6 +85,17 @@ jobs:
NUGET_API_KEY: ${{ secrets.MEDIATR_NUGET_API_KEY }}
run: ./Push.ps1
shell: pwsh
- name: Attach assets to GitHub Release
env:
GH_TOKEN: ${{ github.token }}
run: |
$assets = @()
$assets += Get-ChildItem ./artifacts -Filter *.nupkg | ForEach-Object { $_.FullName }
$assets += Get-ChildItem ./artifacts -Filter *.snupkg | ForEach-Object { $_.FullName }
$assets += './artifacts/_manifest/spdx_2.2/manifest.spdx.json'
$assets += './artifacts/_manifest/spdx_2.2/manifest.spdx.json.sha256'
Comment thread
jbogard marked this conversation as resolved.
gh release upload ${{ github.ref_name }} $assets --clobber
Comment thread
jbogard marked this conversation as resolved.
shell: pwsh
- name: Artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
Loading