Commit 9679a3218c9e511c0e3f9e3e59e3c7c956313000
1 parent
bc2820f6
Exists in
develop
Publishing win32 & macos artifacts in the same action.
Showing
3 changed files
with
68 additions
and
74 deletions
Show diff stats
.github/workflows/macos.yml
... | ... | @@ -1,35 +0,0 @@ |
1 | -name: MacOS | |
2 | -on: | |
3 | - push: | |
4 | - branches: | |
5 | - [ develop ] | |
6 | -jobs: | |
7 | - macos-build: | |
8 | - name: Build for mac | |
9 | - runs-on: macos-latest | |
10 | - steps: | |
11 | - - name: Checkout | |
12 | - uses: actions/checkout@v3 | |
13 | - - uses: oprypin/find-latest-tag@v1 | |
14 | - id: gettag | |
15 | - with: | |
16 | - repository: PerryWerneck/lib3270 | |
17 | - releases-only: true | |
18 | - - name: Install Pre reqs | |
19 | - run: | | |
20 | - brew update | |
21 | - brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig | |
22 | - brew upgrade | |
23 | - - name: build | |
24 | - run: ./mac/ci-build.sh | |
25 | - - uses: ncipollo/release-action@v1 | |
26 | - with: | |
27 | - tag: ${{ steps.gettag.outputs.tag }} | |
28 | - artifacts: "*.tar.xz" | |
29 | - allowUpdates: true | |
30 | - draft: false | |
31 | - makeLatest: true | |
32 | - omitBody: true | |
33 | - omitPrereleaseDuringUpdate: true | |
34 | - replacesArtifacts: true | |
35 | - |
.github/workflows/msys2.yml
... | ... | @@ -1,39 +0,0 @@ |
1 | -name: MSYS2 | |
2 | -on: | |
3 | - push: | |
4 | - branches: | |
5 | - - master | |
6 | - schedule: | |
7 | - - cron: '30 13 1 2,4,6,8,10,12 *' | |
8 | -jobs: | |
9 | - msys2-mingw: | |
10 | - runs-on: windows-latest | |
11 | - defaults: | |
12 | - run: | |
13 | - shell: msys2 {0} | |
14 | - steps: | |
15 | - - uses: actions/checkout@v3 | |
16 | - - uses: oprypin/find-latest-tag@v1 | |
17 | - id: gettag | |
18 | - with: | |
19 | - repository: PerryWerneck/lib3270 | |
20 | - releases-only: true | |
21 | - - uses: msys2/setup-msys2@v2 | |
22 | - with: | |
23 | - msystem: mingw64 | |
24 | - update: true | |
25 | - install: xz mingw-w64-x86_64-gcc automake autoconf make git pkgconf mingw-w64-x86_64-gettext gettext-devel mingw-w64-x86_64-openssl libtool | |
26 | - - name: CI-Build | |
27 | - run: ./win/ci-build.sh | |
28 | - - uses: ncipollo/release-action@v1 | |
29 | - with: | |
30 | - tag: ${{ steps.gettag.outputs.tag }} | |
31 | - artifacts: "*.tar.xz" | |
32 | - allowUpdates: true | |
33 | - draft: false | |
34 | - makeLatest: true | |
35 | - omitBody: true | |
36 | - omitPrereleaseDuringUpdate: true | |
37 | - replacesArtifacts: true | |
38 | - | |
39 | - |
... | ... | @@ -0,0 +1,68 @@ |
1 | +name: Publish | |
2 | +on: | |
3 | + push: | |
4 | + branches: | |
5 | + - master | |
6 | + - develop | |
7 | + schedule: | |
8 | + - cron: '30 13 1 2,4,6,8,10,12 *' | |
9 | +jobs: | |
10 | + msys2-mingw: | |
11 | + runs-on: windows-latest | |
12 | + defaults: | |
13 | + run: | |
14 | + shell: msys2 {0} | |
15 | + steps: | |
16 | + - uses: actions/checkout@v3 | |
17 | + - uses: oprypin/find-latest-tag@v1 | |
18 | + id: gettag | |
19 | + with: | |
20 | + repository: PerryWerneck/lib3270 | |
21 | + releases-only: true | |
22 | + - uses: msys2/setup-msys2@v2 | |
23 | + with: | |
24 | + msystem: mingw64 | |
25 | + update: true | |
26 | + install: xz mingw-w64-x86_64-gcc automake autoconf make git pkgconf mingw-w64-x86_64-gettext gettext-devel mingw-w64-x86_64-openssl libtool | |
27 | + - name: CI-Build | |
28 | + run: ./win/ci-build.sh | |
29 | + - uses: ncipollo/release-action@v1 | |
30 | + with: | |
31 | + tag: ${{ steps.gettag.outputs.tag }} | |
32 | + artifacts: "*.tar.xz" | |
33 | + allowUpdates: true | |
34 | + draft: false | |
35 | + makeLatest: true | |
36 | + omitBody: true | |
37 | + omitPrereleaseDuringUpdate: true | |
38 | + replacesArtifacts: true | |
39 | + macos: | |
40 | + name: Build for mac | |
41 | + runs-on: macos-latest | |
42 | + steps: | |
43 | + - name: Checkout | |
44 | + uses: actions/checkout@v3 | |
45 | + - uses: oprypin/find-latest-tag@v1 | |
46 | + id: gettag | |
47 | + with: | |
48 | + repository: PerryWerneck/lib3270 | |
49 | + releases-only: true | |
50 | + - name: Install Pre reqs | |
51 | + run: | | |
52 | + brew update | |
53 | + brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig | |
54 | + brew upgrade | |
55 | + - name: build | |
56 | + run: ./mac/ci-build.sh | |
57 | + - uses: ncipollo/release-action@v1 | |
58 | + with: | |
59 | + tag: ${{ steps.gettag.outputs.tag }} | |
60 | + artifacts: "*.tar.xz" | |
61 | + allowUpdates: true | |
62 | + draft: false | |
63 | + makeLatest: true | |
64 | + omitBody: true | |
65 | + omitPrereleaseDuringUpdate: true | |
66 | + replacesArtifacts: true | |
67 | + | |
68 | + | ... | ... |