Commit c19119005ba47878be435eff514f9e0cea616c5d
1 parent
55bb5c0b
Exists in
develop
Using mingw standard prefix for artifacts.
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
.github/workflows/publish.yml
@@ -27,14 +27,14 @@ jobs: | @@ -27,14 +27,14 @@ jobs: | ||
27 | with: | 27 | with: |
28 | repository: "PerryWerneck/lib3270" | 28 | repository: "PerryWerneck/lib3270" |
29 | latest: true | 29 | latest: true |
30 | - fileName: "mingw-lib3270.x86_64.tar.xz" | 30 | + fileName: "mingw-w64-x86_64-lib3270.tar.xz" |
31 | - name: CI-Build | 31 | - name: CI-Build |
32 | run: | | 32 | run: | |
33 | ./win/ci-build.sh | 33 | ./win/ci-build.sh |
34 | - uses: ncipollo/release-action@v1 | 34 | - uses: ncipollo/release-action@v1 |
35 | with: | 35 | with: |
36 | tag: ${{ steps.gettag.outputs.tag }} | 36 | tag: ${{ steps.gettag.outputs.tag }} |
37 | - artifacts: "mingw-libv3270.x86_64.tar.xz" | 37 | + artifacts: "*-libv3270.tar.xz" |
38 | allowUpdates: true | 38 | allowUpdates: true |
39 | draft: false | 39 | draft: false |
40 | makeLatest: true | 40 | makeLatest: true |
win/ci-build.sh
@@ -26,7 +26,7 @@ rm -fr ${myDIR}/.build | @@ -26,7 +26,7 @@ rm -fr ${myDIR}/.build | ||
26 | # Unpack lib3270 | 26 | # Unpack lib3270 |
27 | # | 27 | # |
28 | echo "Unpacking lib3270" | 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 | # Build libv3270 | 32 | # Build libv3270 |
@@ -39,7 +39,7 @@ make clean > $LOGFILE 2>&1 || die "Make clean failure" | @@ -39,7 +39,7 @@ make clean > $LOGFILE 2>&1 || die "Make clean failure" | ||
39 | make all > $LOGFILE 2>&1 || die "Make failure" | 39 | make all > $LOGFILE 2>&1 || die "Make failure" |
40 | 40 | ||
41 | make DESTDIR=.bin/package install || die "Install failure" | 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 | echo "Build complete" | 45 | echo "Build complete" |