Commit 63c900de5ec452c30ed0b2a95e43af67c1eab525

Authored by Perry Werneck
1 parent 99ead835
Exists in develop

Fixing yaml.

Showing 1 changed file with 24 additions and 16 deletions   Show diff stats
.github/workflows/winpkg.yml
1 -name: MSYS2 1 +---
  2 +name: WinPKG
2 on: 3 on:
3 pull_request: 4 pull_request:
4 branches: 5 branches:
@@ -6,7 +7,6 @@ on: @@ -6,7 +7,6 @@ on:
6 push: 7 push:
7 branches: 8 branches:
8 - winpkg 9 - winpkg
9 -  
10 jobs: 10 jobs:
11 msys2-mingw: 11 msys2-mingw:
12 runs-on: windows-latest 12 runs-on: windows-latest
@@ -18,51 +18,59 @@ jobs: @@ -18,51 +18,59 @@ jobs:
18 - uses: oprypin/find-latest-tag@v1 18 - uses: oprypin/find-latest-tag@v1
19 id: gettag 19 id: gettag
20 with: 20 with:
21 - repository: PerryWerneck/pw3270 # The repository to scan.  
22 - releases-only: true # We know that all relevant tags have a GitHub release for them. 21 + repository: PerryWerneck/pw3270
  22 + releases-only: true
23 - uses: msys2/setup-msys2@v2 23 - uses: msys2/setup-msys2@v2
24 with: 24 with:
25 msystem: mingw64 25 msystem: mingw64
26 update: true 26 update: true
27 - 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 mingw-w64-x86_64-gtk3 mingw-w64-x86_64-imagemagick mingw-w64-x86_64-optipng mingw-w64-x86_64-inkscape 27 + install: xz mingw-w64-x86_64-gcc automake autoconf make git pkgconf
  28 + mingw-w64-x86_64-gettext gettext-devel mingw-w64-x86_64-openssl
  29 + libtool mingw-w64-x86_64-gtk3 mingw-w64-x86_64-imagemagick
  30 + mingw-w64-x86_64-optipng mingw-w64-x86_64-inkscape
28 - uses: robinraju/release-downloader@v1.7 31 - uses: robinraju/release-downloader@v1.7
29 with: 32 with:
30 - repository: "PerryWerneck/lib3270" 33 + repository: PerryWerneck/lib3270
31 latest: true 34 latest: true
32 - fileName: "mingw-lib3270.tar.xz" 35 + fileName: mingw-lib3270.tar.xz
33 - uses: robinraju/release-downloader@v1.7 36 - uses: robinraju/release-downloader@v1.7
34 with: 37 with:
35 - repository: "PerryWerneck/libv3270" 38 + repository: PerryWerneck/libv3270
36 latest: true 39 latest: true
37 - fileName: "mingw-libv3270.tar.xz" 40 + fileName: mingw-libv3270.tar.xz
38 - name: BuildApp 41 - name: BuildApp
39 run: | 42 run: |
40 ./win/ci-build.sh 43 ./win/ci-build.sh
41 - uses: robinraju/release-downloader@v1.7 44 - uses: robinraju/release-downloader@v1.7
42 with: 45 with:
43 - repository: "PerryWerneck/libipc3270" 46 + repository: PerryWerneck/libipc3270
44 latest: true 47 latest: true
45 - fileName: "mingw-libipc3270.tar.xz" 48 + fileName: mingw-libipc3270.tar.xz
46 - uses: robinraju/release-downloader@v1.7 49 - uses: robinraju/release-downloader@v1.7
47 with: 50 with:
48 - repository: "PerryWerneck/libhllapi" 51 + repository: PerryWerneck/libhllapi
49 latest: true 52 latest: true
50 - fileName: "mingw-hllapi.tar.xz"  
51 - - name: MakePackage 53 + fileName: mingw-hllapi.tar.xz
  54 + - name: Unpack lib3270
52 run: tar -C ./.build -Jxvf mingw-lib3270.tar.xz 55 run: tar -C ./.build -Jxvf mingw-lib3270.tar.xz
  56 + - name: Unpack libv3270
53 run: tar -C ./.build -Jxvf mingw-libv3270.tar.xz 57 run: tar -C ./.build -Jxvf mingw-libv3270.tar.xz
  58 + - name: Unpack pw3270
54 run: tar -C ./.build -Jxvf mingw-pw3270.tar.xz 59 run: tar -C ./.build -Jxvf mingw-pw3270.tar.xz
  60 + - name: Unpack ipc3270
55 run: tar -C ./.build -Jxvf mingw-libipc3270.tar.xz 61 run: tar -C ./.build -Jxvf mingw-libipc3270.tar.xz
  62 + - name: Unpack hllapi
56 run: tar -C ./.build -Jxvf mingw-hllapi.tar.xz 63 run: tar -C ./.build -Jxvf mingw-hllapi.tar.xz
57 - run: tar -C ./.build -Jxvf mingw-pw3270.tar.xz 64 + - name: MakePackage
58 run: tar -C ./.build -Jcvf mingw-pw3270-full.tar.xz . 65 run: tar -C ./.build -Jcvf mingw-pw3270-full.tar.xz .
59 - uses: ncipollo/release-action@v1 66 - uses: ncipollo/release-action@v1
60 with: 67 with:
61 tag: ${{ steps.gettag.outputs.tag }} 68 tag: ${{ steps.gettag.outputs.tag }}
62 - artifacts: "mingw-pw3270-full.tar.xz" 69 + artifacts: mingw-pw3270-full.tar.xz
63 allowUpdates: true 70 allowUpdates: true
64 draft: false 71 draft: false
65 makeLatest: true 72 makeLatest: true
66 omitBody: true 73 omitBody: true
67 omitPrereleaseDuringUpdate: true 74 omitPrereleaseDuringUpdate: true
68 replacesArtifacts: true 75 replacesArtifacts: true
  76 +