forked from tsukinaha/tsukimi
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 841 Bytes
/
build.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
40
41
42
name: Build migtool
on:
workflow_dispatch:
push:
branches:
- migtool
env:
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
RUST_BACKTRACE: full
jobs:
build:
permissions:
contents: write
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Build
timeout-minutes: 20
run: |
rustup default stable-msvc
cargo b -r
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: tsukimi-migtool
path: |
target/release/*.exe
- name: Release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
target/release/*.exe
tag_name: tsukimi-migtool