Skip to content

Commit 36c702d

Browse files
committed
artifact at branch and plan artifact remote
1 parent 20e8550 commit 36c702d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deb

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#1 prog 2 version 3 ppa
33

44
if [ ! -e "../last.zip" ]; then
5-
id=`gh run list --workflow=deb.yml | cut -f7 | head -1`
5+
#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)
67
url=`gh api -H "Accept: application/vnd.github.v3+json" /repos/colin-i/ostream/actions/runs/${id}/artifacts | jq ".artifacts[0].archive_download_url"`
78

89
#pat

0 commit comments

Comments
 (0)