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