remove redundant job and hardcode github_ref to tag

This commit is contained in:
shum
2026-04-11 14:19:37 +00:00
parent 9f5549f56d
commit 8d7e1d0109
+3 -10
View File
@@ -106,13 +106,6 @@ jobs:
fail-fast: false
matrix:
include:
- os: 22.04
os_underscore: 22_04
arch: x86_64
runner: "ubuntu-22.04"
ghc: "8.10.7"
hash: 'sha256:5c8b2c0a6c745bc177669abfaa716b4bc57d58e2ea3882fb5da67f4d59e3dda5'
should_run: ${{ !(github.ref == 'refs/heads/stable' || startsWith(github.ref, 'refs/tags/v')) }}
- os: 22.04
os_underscore: 22_04
arch: x86_64
@@ -238,7 +231,7 @@ jobs:
if: matrix.should_run == true
shell: docker exec -t builder sh -eu {0}
run: |
version=${{ github.ref }}
version='refs/tags/v6.5.0-beta.8'
version=${version#refs/tags/v}
version=${version%-*}
@@ -344,7 +337,7 @@ jobs:
java_ver: ${{ needs.variables.outputs.JAVA_VER }}
ghc_ver: ${{ matrix.ghc }}
os: ${{ matrix.os }}
github_ref: ${{ github.ref }}
github_ref: 'refs/tags/v6.5.0-beta.8'
- name: Install OpenSSL
run: brew install openssl@3.0
@@ -416,7 +409,7 @@ jobs:
ghc_ver: ${{ matrix.ghc }}
os: ${{ matrix.os }}
cache_path: "C:/cabal"
github_ref: ${{ github.ref }}
github_ref: 'refs/tags/v6.5.0-beta.8'
- name: Configure pagefile (Windows)
uses: simplex-chat/configure-pagefile-action@v1.4