Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
4fc5ec36
Unverified
Commit
4fc5ec36
authored
Oct 12, 2023
by
Ezekiel Warren
Committed by
GitHub
Oct 12, 2023
Browse files
automatically create bzlmod archive for release (#1230)
parent
8106fcf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
.github/workflows/bzlmod-archive.yml
.github/workflows/bzlmod-archive.yml
+20
-0
No files found.
.github/workflows/bzlmod-archive.yml
0 → 100644
View file @
4fc5ec36
name
:
Bazel Release
on
:
release
:
types
:
[
published
]
jobs
:
# A release archive is required for bzlmod
# See: https://blog.bazel.build/2023/02/15/github-archive-checksum.html
bazel-release-archive
:
runs-on
:
ubuntu-latest
continue-on-error
:
true
permissions
:
contents
:
write
steps
:
-
uses
:
actions/checkout@v3
-
run
:
git archive $GITHUB_REF -o "yaml-cpp-${GITHUB_REF:10}.tar.gz"
-
run
:
gh release upload ${GITHUB_REF:10} "yaml-cpp-${GITHUB_REF:10}.tar.gz"
env
:
GH_TOKEN
:
${{ github.token }}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment