Commit ed4c42b10eec8ada4316d4500bb261a3d84d9a12
1 parent
aeaa75a1
Exists in
develop
Debugging macos action.
Showing
2 changed files
with
39 additions
and
53 deletions
Show diff stats
... | ... | @@ -0,0 +1,39 @@ |
1 | +name: Publish | |
2 | +on: | |
3 | + push: | |
4 | + branches: [ "macos" ] | |
5 | + pull_request: | |
6 | + branches: [ "master" ] | |
7 | + | |
8 | +jobs: | |
9 | + macos-build: | |
10 | + runs-on: macos-latest | |
11 | + steps: | |
12 | + - name: Checkout | |
13 | + uses: actions/checkout@v3 | |
14 | + - uses: oprypin/find-latest-tag@v1 | |
15 | + id: gettag | |
16 | + with: | |
17 | + repository: PerryWerneck/pw3270 | |
18 | + sort-tags: true | |
19 | + releases-only: true | |
20 | + - name: Install Pre reqs | |
21 | + run: | | |
22 | + brew update | |
23 | + brew install xz automake libtool binutils coreutils curl gettext libtool openssl pkgconfig gtk+3 | |
24 | + find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | |
25 | + find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | |
26 | + find /usr/local/lib/node_modules/npm -delete | |
27 | + - uses: robinraju/release-downloader@v1.7 | |
28 | + with: | |
29 | + repository: "PerryWerneck/lib3270" | |
30 | + latest: true | |
31 | + fileName: "macos-lib3270.tar.xz" | |
32 | + - uses: robinraju/release-downloader@v1.7 | |
33 | + with: | |
34 | + repository: "PerryWerneck/libv3270" | |
35 | + latest: true | |
36 | + fileName: "macos-libv3270.tar.xz" | |
37 | + - name: build | |
38 | + run: ./mac/ci-build.sh | |
39 | + | ... | ... |
.github/workflows/macpkg.yml
... | ... | @@ -1,53 +0,0 @@ |
1 | -name: Publish | |
2 | -on: | |
3 | - push: | |
4 | - branches: | |
5 | - - macos | |
6 | - pull_request: | |
7 | - branches: | |
8 | - - master | |
9 | - - develop | |
10 | -jobs: | |
11 | - macos: | |
12 | - name: Publish macos | |
13 | - runs-on: macos-latest | |
14 | - steps: | |
15 | - - name: Checkout | |
16 | - uses: actions/checkout@v3 | |
17 | - - uses: oprypin/find-latest-tag@v1 | |
18 | - id: gettag | |
19 | - with: | |
20 | - repository: PerryWerneck/pw3270 | |
21 | - sort-tags: true | |
22 | - releases-only: true | |
23 | - - name: Install Pre reqs | |
24 | - run: | | |
25 | - brew update | |
26 | - brew install xz automake libtool binutils coreutils curl gettext libtool openssl pkgconfig gtk+3 | |
27 | - find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | |
28 | - find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | |
29 | - find /usr/local/lib/node_modules/npm -delete | |
30 | - brew upgrade | |
31 | - - uses: robinraju/release-downloader@v1.7 | |
32 | - with: | |
33 | - repository: "PerryWerneck/lib3270" | |
34 | - latest: true | |
35 | - fileName: "macos-lib3270.tar.xz" | |
36 | - - uses: robinraju/release-downloader@v1.7 | |
37 | - with: | |
38 | - repository: "PerryWerneck/libv3270" | |
39 | - latest: true | |
40 | - fileName: "macos-libv3270.tar.xz" | |
41 | - - name: build | |
42 | - run: ./mac/ci-build.sh | |
43 | - - uses: ncipollo/release-action@v1 | |
44 | - with: | |
45 | - tag: ${{ steps.gettag.outputs.tag }} | |
46 | - artifacts: "macos-pw3270.tar.xz" | |
47 | - allowUpdates: true | |
48 | - draft: true | |
49 | - makeLatest: true | |
50 | - omitBody: true | |
51 | - omitPrereleaseDuringUpdate: true | |
52 | - replacesArtifacts: true | |
53 | - |