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 3 on:
3 4 pull_request:
4 5 branches:
... ... @@ -6,7 +7,6 @@ on:
6 7 push:
7 8 branches:
8 9 - winpkg
9   -
10 10 jobs:
11 11 msys2-mingw:
12 12 runs-on: windows-latest
... ... @@ -18,51 +18,59 @@ jobs:
18 18 - uses: oprypin/find-latest-tag@v1
19 19 id: gettag
20 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 23 - uses: msys2/setup-msys2@v2
24 24 with:
25 25 msystem: mingw64
26 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 31 - uses: robinraju/release-downloader@v1.7
29 32 with:
30   - repository: "PerryWerneck/lib3270"
  33 + repository: PerryWerneck/lib3270
31 34 latest: true
32   - fileName: "mingw-lib3270.tar.xz"
  35 + fileName: mingw-lib3270.tar.xz
33 36 - uses: robinraju/release-downloader@v1.7
34 37 with:
35   - repository: "PerryWerneck/libv3270"
  38 + repository: PerryWerneck/libv3270
36 39 latest: true
37   - fileName: "mingw-libv3270.tar.xz"
  40 + fileName: mingw-libv3270.tar.xz
38 41 - name: BuildApp
39 42 run: |
40 43 ./win/ci-build.sh
41 44 - uses: robinraju/release-downloader@v1.7
42 45 with:
43   - repository: "PerryWerneck/libipc3270"
  46 + repository: PerryWerneck/libipc3270
44 47 latest: true
45   - fileName: "mingw-libipc3270.tar.xz"
  48 + fileName: mingw-libipc3270.tar.xz
46 49 - uses: robinraju/release-downloader@v1.7
47 50 with:
48   - repository: "PerryWerneck/libhllapi"
  51 + repository: PerryWerneck/libhllapi
49 52 latest: true
50   - fileName: "mingw-hllapi.tar.xz"
51   - - name: MakePackage
  53 + fileName: mingw-hllapi.tar.xz
  54 + - name: Unpack lib3270
52 55 run: tar -C ./.build -Jxvf mingw-lib3270.tar.xz
  56 + - name: Unpack libv3270
53 57 run: tar -C ./.build -Jxvf mingw-libv3270.tar.xz
  58 + - name: Unpack pw3270
54 59 run: tar -C ./.build -Jxvf mingw-pw3270.tar.xz
  60 + - name: Unpack ipc3270
55 61 run: tar -C ./.build -Jxvf mingw-libipc3270.tar.xz
  62 + - name: Unpack hllapi
56 63 run: tar -C ./.build -Jxvf mingw-hllapi.tar.xz
57   - run: tar -C ./.build -Jxvf mingw-pw3270.tar.xz
  64 + - name: MakePackage
58 65 run: tar -C ./.build -Jcvf mingw-pw3270-full.tar.xz .
59 66 - uses: ncipollo/release-action@v1
60 67 with:
61 68 tag: ${{ steps.gettag.outputs.tag }}
62   - artifacts: "mingw-pw3270-full.tar.xz"
  69 + artifacts: mingw-pw3270-full.tar.xz
63 70 allowUpdates: true
64 71 draft: false
65 72 makeLatest: true
66 73 omitBody: true
67 74 omitPrereleaseDuringUpdate: true
68 75 replacesArtifacts: true
  76 +
... ...