We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20e8550 commit 36c702dCopy full SHA for 36c702d
deb
@@ -2,7 +2,8 @@
2
#1 prog 2 version 3 ppa
3
4
if [ ! -e "../last.zip" ]; then
5
- id=`gh run list --workflow=deb.yml | cut -f7 | head -1`
+ #gh cli is also on the hosted runner, can get artifact there too
6
+ id=$(gh run list --workflow=deb.yml -b $(git rev-parse --abbrev-ref HEAD) | cut -f7 | head -1)
7
url=`gh api -H "Accept: application/vnd.github.v3+json" /repos/colin-i/ostream/actions/runs/${id}/artifacts | jq ".artifacts[0].archive_download_url"`
8
9
#pat
0 commit comments