This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Release 1.3.4.2 #3
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 Executables | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
build-release-windows: | |
name: Build on Windows ${{ github.event.release.tag_name }} | |
runs-on: windows-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release | |
- name: Rename executable | |
run: mv target/release/syntax_bootstrapper.exe target/release/SyntaxPlayerLauncher.exe | |
- name: Upload Release Asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_path: target/release/SyntaxPlayerLauncher.exe | |
asset_name: SyntaxPlayerLauncher.exe | |
asset_content_type: application/octet-stream | |
build-release-linux: | |
name: Build on Linux ${{ github.event.release.tag_name }} | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release | |
- name: Rename executable | |
run: mv target/release/syntax_bootstrapper target/release/SyntaxPlayerLinuxLauncher | |
- name: Upload Release Asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_path: target/release/SyntaxPlayerLinuxLauncher | |
asset_name: SyntaxPlayerLinuxLauncher | |
asset_content_type: application/octet-stream |