github actions: Ignore clang --version failure #163
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
name: tarball sha256sum | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
tarball: | |
runs-on: 'ubuntu-22.04' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: release.sh | |
run: ./release.sh --testrel | tee log1.txt | |
- name: extract output | |
run: | | |
grep ^SHA256 log1.txt | tee sha256sum.txt | |
sed 's/.*= *//' < sha256sum.txt > hash.txt | |
mv `tail -n1 log1.txt` rel.tar.bz2 | |
- name: sha256sum | |
uses: actions/upload-artifact@v4 | |
with: | |
name: sha256sum | |
path: | | |
sha256sum.txt | |
hash.txt | |
- name: tarball | |
uses: actions/upload-artifact@v4 | |
with: | |
name: tarball | |
# only keep for debugging | |
retention-days: 3 | |
path: rel.tar.bz2 |