v0.61.3 release #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
name: Upload Release Asset | |
jobs: | |
appimage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
set -x | |
sh -eux tools/build-appimage-container | |
ARCH=$(uname -m) sh -eux tools/build-appimage | |
assets=() | |
for asset in $(find . -name '*.AppImage'); do | |
assets+=("$asset") | |
bname=$(basename "$asset") | |
dname=$(dirname "$asset") | |
(cd "$dname" && md5sum "$bname" > "${bname}.md5") | |
(cd "$dname" && sha256sum "$bname" > "${bname}.sha256") | |
done | |
for asset in $(find . -name '*.md5'); do | |
assets+=("$asset") | |
done | |
for asset in $(find . -name '*.sha256'); do | |
assets+=("$asset") | |
done | |
tag_name="${GITHUB_REF##*/}" | |
gh release create $tag_name ${assets[@]} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |