Commit 385febcb8d6f36d82d4c0ac4cd087bb06febeca6

Authored by Perry Werneck
1 parent 76361945
Exists in develop

Updating msys2 workflow.

Showing 1 changed file with 8 additions and 3 deletions   Show diff stats
.github/workflows/msys2.yml
1 name: MSYS2 1 name: MSYS2
2 on: 2 on:
3 - pull_request: 3 + push:
4 branches: 4 branches:
5 - master 5 - master
6 schedule: 6 schedule:
@@ -13,6 +13,11 @@ jobs: @@ -13,6 +13,11 @@ jobs:
13 shell: msys2 {0} 13 shell: msys2 {0}
14 steps: 14 steps:
15 - uses: actions/checkout@v3 15 - uses: actions/checkout@v3
  16 + - uses: oprypin/find-latest-tag@v1
  17 + id: gettag
  18 + with:
  19 + repository: PerryWerneck/lib3270
  20 + releases-only: true
16 - uses: msys2/setup-msys2@v2 21 - uses: msys2/setup-msys2@v2
17 with: 22 with:
18 msystem: mingw64 23 msystem: mingw64
@@ -22,10 +27,10 @@ jobs: @@ -22,10 +27,10 @@ jobs:
22 run: ./win/ci-build.sh 27 run: ./win/ci-build.sh
23 - uses: ncipollo/release-action@v1 28 - uses: ncipollo/release-action@v1
24 with: 29 with:
25 - tag: 5.4 30 + tag: ${{ steps.gettag.outputs.tag }}
26 artifacts: "*.tar.xz" 31 artifacts: "*.tar.xz"
27 allowUpdates: true 32 allowUpdates: true
28 - draft: true 33 + draft: false
29 makeLatest: true 34 makeLatest: true
30 omitBody: true 35 omitBody: true
31 omitPrereleaseDuringUpdate: true 36 omitPrereleaseDuringUpdate: true