From 385febcb8d6f36d82d4c0ac4cd087bb06febeca6 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Fri, 24 Mar 2023 10:07:26 -0300 Subject: [PATCH] Updating msys2 workflow. --- .github/workflows/msys2.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml index 8bbdfed..c0cb98d 100644 --- a/.github/workflows/msys2.yml +++ b/.github/workflows/msys2.yml @@ -1,6 +1,6 @@ name: MSYS2 on: - pull_request: + push: branches: - master schedule: @@ -13,6 +13,11 @@ jobs: shell: msys2 {0} steps: - uses: actions/checkout@v3 + - uses: oprypin/find-latest-tag@v1 + id: gettag + with: + repository: PerryWerneck/lib3270 + releases-only: true - uses: msys2/setup-msys2@v2 with: msystem: mingw64 @@ -22,10 +27,10 @@ jobs: run: ./win/ci-build.sh - uses: ncipollo/release-action@v1 with: - tag: 5.4 + tag: ${{ steps.gettag.outputs.tag }} artifacts: "*.tar.xz" allowUpdates: true - draft: true + draft: false makeLatest: true omitBody: true omitPrereleaseDuringUpdate: true -- libgit2 0.21.2