diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index be1bf22..65f313b 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -148,9 +148,9 @@ jobs: arch: x86_64 - os: macos-14 arch: arm64 - - os: windows-2019 + - os: windows-2022 arch: x86 - - os: windows-2019 + - os: windows-2022 arch: AMD64 steps: - name: Checkout @@ -164,7 +164,7 @@ jobs: run: | perl -i -pe "s/version\s*=\s*\"(.*?)(\.rc.*|\.a.*|\.post.*)?\"/version=\"\1.dev0+${GITHUB_SHA::8}\"/" pyproject.toml - name: Note version - if: matrix.os != 'windows-2019' + if: ${{ !startsWith(matrix.os, 'windows-') }} shell: bash run: | python3 -m venv .yq-venv @@ -172,7 +172,7 @@ jobs: pip install yq echo "PACKAGE_VERSION=$(tomlq '.project.version' pyproject.toml -r)" >> $GITHUB_ENV - name: Note version (Windows) - if: matrix.os == 'windows-2019' + if: ${{ startsWith(matrix.os, 'windows-') }} run: | pipx install yq $env:PACKAGE_VERSION = tomlq.exe '.project.version' pyproject.toml -r @@ -189,12 +189,12 @@ jobs: python-version: "3.12" - name: Download GNU Tar uses: suisei-cn/actions-download-file@v1.6.0 - if: "matrix.os == 'windows-2019'" + if: ${{ startsWith(matrix.os, 'windows-') }} with: url: https://skytemple.org/build_deps/tar.exe target: "C:\\tarout" - name: Prepend GNU Tar to Path - if: "matrix.os == 'windows-2019'" + if: ${{ startsWith(matrix.os, 'windows-') }} shell: powershell run: echo "C:\tarout" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append diff --git a/antlr4 b/antlr4 index 007a3c6..6aff9e2 160000 --- a/antlr4 +++ b/antlr4 @@ -1 +1 @@ -Subproject commit 007a3c6cbc7c18217a492b0b38dfe6c0845161d3 +Subproject commit 6aff9e24fc2e235167316acec48e2cc960e2c5d1 diff --git a/pyproject.toml b/pyproject.toml index 50a0088..9a44d9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = "scikit_build_core.setuptools.build_meta" [project] name = "explorerscript" -version = "0.2.3" +version = "0.2.4" authors = [ { name = 'Marco "Capypara" Köpcke', email = "hello@capypara.de" }, # see GitHub contributors list for additional people.