Skip to content

Commit

Permalink
Update to detect staging packages in cleaner action
Browse files Browse the repository at this point in the history
#73 (comment)

Fix missing task in #71
  • Loading branch information
kachick committed May 15, 2024
1 parent fe805e0 commit 9436f79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cleanup-staging-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ jobs:
gh api --paginate \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/users/kachick/packages/container/ubuntu-nix-systemd/versions \
/users/kachick/packages/container/ubuntu-24.04-nix-systemd/versions \
--jq '.[] | select(.metadata.container.tags[] | match("^pr-${{ steps.get-meta.outputs.pr_number }}-")).id' | \
ruby -e 'puts STDIN.each_line.map(&:chomp).join(",")' | \
gh-action-escape -name=ubuntu-nix-systemd-package-version-ids | tee -a "$GITHUB_OUTPUT"
gh api --paginate \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/users/kachick/packages/container/ubuntu-nix-sudoer/versions \
/users/kachick/packages/container/ubuntu-24.04-nix-sudoer/versions \
--jq '.[] | select(.metadata.container.tags[] | match("^pr-${{ steps.get-meta.outputs.pr_number }}-")).id' | \
ruby -e 'puts STDIN.each_line.map(&:chomp).join(",")' | \
gh-action-escape -name=ubuntu-nix-sudoer-package-version-ids | tee -a "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 9436f79

Please sign in to comment.