Skip to content

Bump version

Bump version #38

Workflow file for this run

name: build
on:
push:
tags:
- "*.*.*"
env:
CARGO_TERM_COLOR: always
jobs:
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Install system dependencies
run: |
sudo apt update
sudo apt install -y libwebkit2gtk-4.0-dev \
build-essential \
curl \
wget \
file \
libssl-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: Install NPM dependencies
run: npm install
- name: Build
run: npm run tauri build -- -v
- name: Prepare ZIP
run: |
cd src-tauri/target/release
zip -r gmpublisher_linux64.zip gmpublisher libsteam_api.so
- name: Release
uses: softprops/action-gh-release@v1
with:
files: src-tauri/target/release/gmpublisher_linux64.zip
fail_on_unmatched_files: true
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Install NPM dependencies
run: npm install
- name: Build
run: npm run tauri build -- -v
env:
RUSTFLAGS: -Ctarget-feature=+crt-static
- name: Release
uses: softprops/action-gh-release@v1
with:
files: src-tauri/target/release/bundle/msi/gmpublisher_*.msi
fail_on_unmatched_files: true
build_macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Install NPM dependencies
run: npm install
- name: Build
run: npm run tauri build -- -v
- name: Copy Steamworks SDK to bundle
run: cp src-tauri/lib/steam_api/redistributable_bin/osx/libsteam_api.dylib src-tauri/target/release/bundle/macos/gmpublisher.app/Contents/MacOS/libsteam_api.dylib
- name: Prepare ZIP
run: |
cd src-tauri/target/release/bundle/macos
zip -r gmpublisher_macOS.app.zip gmpublisher.app
- name: Release
uses: softprops/action-gh-release@v1
with:
files: src-tauri/target/release/bundle/macos/gmpublisher_macOS.app.zip
fail_on_unmatched_files: true