-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (38 loc) · 1.33 KB
/
build_rust.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
35
36
37
38
39
on:
release:
types: [created]
jobs:
release_map_proxy:
name: release_map_proxy_${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-unknown-linux-musl]
steps:
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_NAME: "MineGuessr_${{ github.event.release.tag_name }}_map_proxy_${{ matrix.target }}"
SRC_DIR: "./map_proxy"
release_image_converter:
name: release_image_converter_${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
steps:
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_NAME: "MineGuessr_${{ github.event.release.tag_name }}_image_converter_${{ matrix.target }}"
SRC_DIR: "./image_converter"