-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
action.yml
34 lines (28 loc) · 850 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: 'Build Stump desktop app'
description: 'Compile the Stump desktop app'
inputs:
platform:
description: 'The plaform of the runner'
required: true
runs:
using: composite
steps:
- name: Checkout project
uses: actions/checkout@v3
# - name: Configure environment
# run: |
# if [[ ${{ inputs.platform }} == 'linux' || ${{ inputs.platform }} == 'windows' ]]; then
# echo "RUN_SETUP=false" >> $GITHUB_ENV
# else
# echo "RUN_SETUP=true" >> $GITHUB_ENV
# fi
- name: Setup rust
uses: ./.github/actions/setup-rust
- name: Copy bundled web app
uses: actions/download-artifact@v3
with:
name: webapp
path: ./apps/desktop/dist
- name: Compile desktop app
shell: bash
run: cargo build --package stump_desktop --release