Commit 385febcb8d6f36d82d4c0ac4cd087bb06febeca6
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 | 1 | name: MSYS2 |
| 2 | 2 | on: |
| 3 | - pull_request: | |
| 3 | + push: | |
| 4 | 4 | branches: |
| 5 | 5 | - master |
| 6 | 6 | schedule: |
| ... | ... | @@ -13,6 +13,11 @@ jobs: |
| 13 | 13 | shell: msys2 {0} |
| 14 | 14 | steps: |
| 15 | 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 | 21 | - uses: msys2/setup-msys2@v2 |
| 17 | 22 | with: |
| 18 | 23 | msystem: mingw64 |
| ... | ... | @@ -22,10 +27,10 @@ jobs: |
| 22 | 27 | run: ./win/ci-build.sh |
| 23 | 28 | - uses: ncipollo/release-action@v1 |
| 24 | 29 | with: |
| 25 | - tag: 5.4 | |
| 30 | + tag: ${{ steps.gettag.outputs.tag }} | |
| 26 | 31 | artifacts: "*.tar.xz" |
| 27 | 32 | allowUpdates: true |
| 28 | - draft: true | |
| 33 | + draft: false | |
| 29 | 34 | makeLatest: true |
| 30 | 35 | omitBody: true |
| 31 | 36 | omitPrereleaseDuringUpdate: true | ... | ... |