File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1
1
on :
2
2
workflow_dispatch :
3
+ push :
4
+ tags :
5
+ - ' *'
3
6
4
7
jobs :
5
8
build :
19
22
with :
20
23
name : build-artifacts
21
24
path : packages/plugin/target/**/*
25
+
26
+ release :
27
+ needs : build
28
+ runs-on : ubuntu-latest
29
+ if : startsWith(github.ref, 'refs/tags/')
30
+ steps :
31
+ - uses : actions/download-artifact@v4
32
+
33
+ - run : |
34
+ mkdir release
35
+ mv build-artifacts/prx_final/extern_traces.prx
36
+
37
+ - name : release
38
+ uses : softprops/action-gh-release@v2
39
+ with :
40
+ files : release/*
Original file line number Diff line number Diff line change 1
1
on :
2
2
workflow_dispatch :
3
+ push :
4
+ tags :
5
+ - ' *'
3
6
4
7
jobs :
5
8
build :
32
35
with :
33
36
name : build-${{ matrix.platform }}-${{ matrix.target }}
34
37
path : target/${{ matrix.target }}/release/${{ matrix.output }}
38
+
39
+ release :
40
+ needs : build
41
+ runs-on : ubuntu-latest
42
+ if : startsWith(github.ref, 'refs/tags/')
43
+ steps :
44
+ - uses : actions/download-artifact@v4
45
+
46
+ - run : |
47
+ mkdir release
48
+ mv build-macos-latest-aarch64-apple-darwin/extern_traces_viewer ./release/extern_traces_viewer.osx_arm64
49
+ mv build-ubuntu-latest-x86_64-unknown-linux-gnu/extern_traces_viewer ./release/extern_traces_viewer.linux_amd64
50
+ mv build-windows-latest-x86_64-pc-windows-msvc/extern_traces_viewer.exe ./release/extern_traces.amd64.exe
51
+
52
+ - name : release
53
+ uses : softprops/action-gh-release@v2
54
+ with :
55
+ files : release/*
You can’t perform that action at this time.
0 commit comments