v8.36.0 #65
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: Build Release Binaries | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
build: | |
name: Build Release Assets | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23 | |
- name: Display the version of go that we have installed | |
run: go version | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Download Go modules | |
run: go get ./... | |
- name: Update apt repo | |
run: sudo apt-get update | |
- name: Install compilers | |
run: sudo apt-get install gcc musl-dev musl-tools gcc-arm-linux-gnueabi gcc-aarch64-linux-gnu gcc-riscv64-linux-gnu gcc-powerpc64le-linux-gnu gcc-mips-linux-gnu gcc-mipsel-linux-gnu gcc-mips64-linux-gnuabi64 gcc-mips64el-linux-gnuabi64 | |
- name: Build the release binaries | |
run: .github/workflows/build.sh ${{ github.event.release.tag_name }} | |
- name: Upload Release Assets | |
run: | | |
for tarball in *.tar.gz; do | |
curl \ | |
-X POST \ | |
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ | |
-H "Content-type: application/octet-stream" \ | |
--data-binary @$tarball \ | |
"https://uploads.github.com/repos/rqlite/rqlite/releases/${{ github.event.release.id }}/assets?name=$tarball" | |
done | |
- name: Update the release notes | |
run: .github/workflows/release-notes.py ${{ secrets.GITHUB_TOKEN }} ${{ github.event.release.id }} ${{ github.event.release.tag_name }} |