bump version to v0.0.31 #55
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 and Package | |
permissions: | |
contents: write | |
on: | |
push: | |
tags : | |
- '*' | |
jobs: | |
build-and-package: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up ENV | |
run: | | |
echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | |
- name: Installing Dependencies | |
run : | | |
sudo apt-get install libasound2-dev | |
- uses: actions/checkout@v4 | |
name: Checkout code | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21.3' | |
- name: Build server | |
run: make build-server | |
- name: Build Client | |
run: make build-client | |
- name: Generate Installer | |
run: | | |
chmod +x ./scripts/compile_installer.sh | |
./scripts/compile_installer.sh | |
- name: Upload Installer Script | |
id : upload-installer | |
uses: actions/upload-artifact@v4 | |
with: | |
name: installer-script | |
path: ./bin/installer.tar.gz | |
- name: Release Installer | |
uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: ${{ env.RELEASE_VERSION }} | |
body: "Installer for version ${{ github.ref }}" | |
draft: false | |
prerelease: false | |
name: "retro-${{ env.RELEASE_VERSION}}" | |
files: ./bin/installer.sh | |
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |