Merge pull request #237 from mpudliszewski/pl-translation #419
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" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
branches: | |
- "master" | |
jobs: | |
build-omp-launcher: | |
name: Windows build | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: nightly | |
- name: Install frontend dependencies | |
run: yarn install | |
- uses: tauri-apps/tauri-action@v0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Generate artifact name | |
id: vars | |
shell: bash | |
run: | | |
artifact_name="open.mp-launcher-win-${GITHUB_RUN_ID}" | |
echo "artifact_name=${artifact_name}" >> $GITHUB_OUTPUT | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ steps.vars.outputs.artifact_name }} | |
path: src-tauri/target/release/omp-launcher.exe | |
if-no-files-found: error |