-
-
Notifications
You must be signed in to change notification settings - Fork 5
68 lines (57 loc) · 1.34 KB
/
dev-release.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
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
name: Dev release
on:
push:
branches: [ dev ]
paths-ignore:
- 'README.md'
- 'LICENSE'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
jar:
uses: ./.github/workflows/workflow-jar.yml
secrets: inherit
with:
jar-name: tp2intervals
jar-artifact-name: tp2intervals-jar
docker-image:
needs:
- jar
uses: ./.github/workflows/workflow-docker-image.yml
with:
jar-name: tp2intervals
jar-artifact-name: tp2intervals-jar
image-name: tp2intervals
electron:
needs:
- jar
strategy:
matrix:
environment:
- os: ubuntu-latest
- os: macos-latest
- os: windows-latest
uses: ./.github/workflows/workflow-electron.yml
with:
jar-name: tp2intervals
jar-artifact-name: tp2intervals-jar
os: ${{ matrix.environment.os }}
dev-release:
needs:
- jar
- electron
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: artifacts
- name: Show me what you got
run: ls artifacts
- uses: ncipollo/release-action@v1
with:
prerelease: true
artifactErrorsFailBuild: true
artifacts: artifacts/**