We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1ffcc3 commit 302c37aCopy full SHA for 302c37a
.github/workflows/bzlmod-archive.yml
@@ -1,19 +1,12 @@
1
-name: Bzlmod Archive
+name: bzlmod archive
2
3
on:
4
release:
5
types: [published]
6
7
jobs:
8
- # A release archive is required for bzlmod
9
- # See: https://blog.bazel.build/2023/02/15/github-archive-checksum.html
10
- upload-archive:
11
- runs-on: ubuntu-latest
+ bzlmod-archive:
+ uses: ecsact-dev/bazel_registry/.github/workflows/bzlmod-archive.yml@main
+ secrets: inherit
12
permissions:
13
contents: write
14
- steps:
15
- - uses: actions/checkout@v4
16
- - run: git archive -o "${{ format('{0}-{1}.tar.gz', github.event.repository.name, github.event.release.tag_name) }}" HEAD
17
- - run: gh release upload ${{ github.event.release.tag_name }} *.tar.gz
18
- env:
19
- GH_TOKEN: ${{ github.token }}
0 commit comments