File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,7 +141,10 @@ jobs:
141141 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
142142 with :
143143 name : release-${{ matrix.os }}-${{ matrix.target }}
144- path : dist/nightward_*
144+ path : |
145+ dist/nightward_*.tar.gz
146+ dist/nightward_*.zip
147+ dist/nightward_*.sbom.json
145148 if-no-files-found : error
146149
147150 publish :
Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ grep -q "macos-15-intel" "${repo_root}/.github/workflows/release.yml"
3131grep -q " aarch64-unknown-linux-gnu" " ${repo_root} /.github/workflows/release.yml"
3232grep -q " x86_64-apple-darwin" " ${repo_root} /.github/workflows/release.yml"
3333grep -q ' NIGHTWARD_VERSION="${version}"' " ${repo_root} /.github/workflows/release.yml"
34+ grep -q " dist/nightward_\\ *.tar.gz" " ${repo_root} /.github/workflows/release.yml"
35+ grep -q " dist/nightward_\\ *.zip" " ${repo_root} /.github/workflows/release.yml"
36+ if grep -q " path: dist/nightward_\\ *" " ${repo_root} /.github/workflows/release.yml" ; then
37+ echo " expected release upload to exclude staging directories" >&2
38+ exit 1
39+ fi
3440
3541mkdir -p " ${tmp} /target/release"
3642printf ' #!/usr/bin/env bash\nprintf "0.1.0\\n"\n' > " ${tmp} /target/release/nightward"
You can’t perform that action at this time.
0 commit comments