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.
1 parent 90bd1d0 commit 7fbf5cfCopy full SHA for 7fbf5cf
.github/workflows/build-all.yml
@@ -10,20 +10,16 @@ env:
10
jobs:
11
versions:
12
runs-on: ubuntu-latest
13
- permissions:
14
- contents: read
15
outputs:
16
revisions: ${{ steps.revisions.outputs.value }}
17
steps:
+ - uses: actions/checkout@v4
+ with:
18
+ fetch-tags: true
19
- name: Collect available versions
20
id: revisions
- env:
21
- GH_TOKEN: ${{ github.token }}
22
run: |
23
- tags=$(gh api \
24
- -H "Accept: application/vnd.github+json" \
25
- -H "X-GitHub-Api-Version: 2022-11-28" \
26
- /repos/${{ github.repository }}/releases | jq -c '. | map(.tag_name)')
+ tags=$(jq -c -n '$ARGS.positional + ["main"]' --args $(git tag --list))
27
echo "value=$(echo $tags | jq -c .)" >> $GITHUB_OUTPUT
28
29
build:
0 commit comments