-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (59 loc) · 2.02 KB
/
Copy pathrelease.yml
File metadata and controls
69 lines (59 loc) · 2.02 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: Release
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# Download 32-bit artifacts
- name: Download Windows Build Artifact
uses: dawidd6/action-download-artifact@v11
with:
name: Windows Build
workflow: rust.yml
branch: main
path: ./artifacts/windows
- name: Download Linux Build Artifact
uses: dawidd6/action-download-artifact@v11
with:
name: Linux Build
workflow: rust.yml
branch: main
path: ./artifacts/linux
# Download 64-bit artifacts
- name: Download Windows x64 Build Artifact
uses: dawidd6/action-download-artifact@v11
with:
name: Windows Build x64
workflow: rust.yml
branch: main
path: ./artifacts/windows-x64
# - name: Download Linux x64 Build Artifact
# uses: dawidd6/action-download-artifact@v11
# with:
# name: Linux Build x64
# workflow: rust.yml
# branch: main
# path: ./artifacts/linux-x64
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: ${{ github.ref_name }}
draft: true
generate_release_notes: true
files: |
./artifacts/windows/i686-pc-windows-msvc/release/rustick.dll
./artifacts/windows/i686-pc-windows-msvc/release/rustick.pdb
./artifacts/windows-x64/x86_64-pc-windows-msvc/release/rustick64.dll
./artifacts/windows-x64/x86_64-pc-windows-msvc/release/rustick64.pdb
./artifacts/linux/i686-unknown-linux-gnu/release/librustick.so
./artifacts/linux/i686-unknown-linux-gnu/release/librustick.so.dbg
./artifacts/windows/rustick.dm
# ./artifacts/linux-x64/x86_64-unknown-linux-gnu/release/librustick64.so
# ./artifacts/linux-x64/x86_64-unknown-linux-gnu/release/librustick64.so.dbg