Update TUC to v1.4.0 for RPi-4 and QEMU configs (#11) #4
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
name: Release | |
on: | |
push: | |
tags: ["v[0-9]+.[0-9]+.[0-9]+*"] | |
jobs: | |
release: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: dependencies | |
run: | | |
sudo apt -y update | |
sudo apt -y install musl-tools clang | |
rustup target add x86_64-unknown-linux-musl | |
- name: run | |
run: make release | |
- name: upload thistle-yocto-build | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: dist/thistle-yocto-build-x86_64-unknown-linux-musl | |
asset_name: thistle-yocto-build | |
tag: ${{ github.ref }} | |
overwrite: true | |
- name: upload sha256sums.txt | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: dist/sha256sums.txt | |
asset_name: sha256sums.txt | |
tag: ${{ github.ref }} | |
overwrite: true | |
- name: release-tag | |
run: | | |
set -euxo pipefail | |
echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV | |