Commit c19119005ba47878be435eff514f9e0cea616c5d

Authored by Perry Werneck
1 parent 55bb5c0b
Exists in develop

Using mingw standard prefix for artifacts.

.github/workflows/publish.yml
... ... @@ -27,14 +27,14 @@ jobs:
27 27 with:
28 28 repository: "PerryWerneck/lib3270"
29 29 latest: true
30   - fileName: "mingw-lib3270.x86_64.tar.xz"
  30 + fileName: "mingw-w64-x86_64-lib3270.tar.xz"
31 31 - name: CI-Build
32 32 run: |
33 33 ./win/ci-build.sh
34 34 - uses: ncipollo/release-action@v1
35 35 with:
36 36 tag: ${{ steps.gettag.outputs.tag }}
37   - artifacts: "mingw-libv3270.x86_64.tar.xz"
  37 + artifacts: "*-libv3270.tar.xz"
38 38 allowUpdates: true
39 39 draft: false
40 40 makeLatest: true
... ...
win/ci-build.sh
... ... @@ -26,7 +26,7 @@ rm -fr ${myDIR}/.build
26 26 # Unpack lib3270
27 27 #
28 28 echo "Unpacking lib3270"
29   -tar -C / -Jxf mingw-lib3270.${MSYSTEM_CARCH}.tar.xz > $LOGFILE 2>&1 || die "lib3270 unpack failure"
  29 +tar -C / -Jxf ${MINGW_PACKAGE_PREFIX}-lib3270.tar.xz > $LOGFILE 2>&1 || die "lib3270 unpack failure"
30 30  
31 31 #
32 32 # Build libv3270
... ... @@ -39,7 +39,7 @@ make clean > $LOGFILE 2>&1 || die "Make clean failure"
39 39 make all > $LOGFILE 2>&1 || die "Make failure"
40 40  
41 41 make DESTDIR=.bin/package install || die "Install failure"
42   -tar --create --xz --file=mingw-libv3270.${MSYSTEM_CARCH}.tar.xz --directory=.bin/package --verbose . || die "Tar failure"
  42 +tar --create --xz --file=${MINGW_PACKAGE_PREFIX}-libv3270.tar.xz --directory=.bin/package --verbose . || die "Tar failure"
43 43  
44 44  
45 45 echo "Build complete"
... ...