We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GITHUB_TOKEN
cleanup_packages
1 parent 3434533 commit 1242bddCopy full SHA for 1242bdd
.github/workflows/cleanup-packages.yaml
@@ -76,14 +76,15 @@ jobs:
76
shell: bash -l {0}
77
env:
78
GITHUB_USER: ${{ github.actor }}
79
+ GITHUB_TOKEN: ${{ secrets.CI_PACKAGES }}
80
run: |
81
set -euox pipefail
82
devtool --version
83
packages=$(
84
devtool github packages list --owner 'energy-quants' --json \
- | jq '.[] | select(.repository.full_name == "energy-quants/eq-devtools") | .name'
85
+ | jq -r '.[] | select(.repository.full_name == "energy-quants/eq-devtools") | .name'
86
)
87
for package in $packages; do
- echo $package
88
+ devtool github packages list-versions --owner 'energy-quants' --package "${package}"
89
# devtool github packages cleanup --owner 'energy-quants' --package "${package}"
90
done
0 commit comments