diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 9303b59..d498afc 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -2,8 +2,8 @@ name: java on: push: - branches: - - stable + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' permissions: contents: read diff --git a/.github/workflows/javascript.yml b/.github/workflows/javascript.yml index 24e9e4e..c1436d5 100644 --- a/.github/workflows/javascript.yml +++ b/.github/workflows/javascript.yml @@ -2,8 +2,8 @@ name: javascript on: push: - branches: - - stable + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' permissions: contents: read diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml index 85f19ff..f5c0c89 100644 --- a/.github/workflows/lua.yml +++ b/.github/workflows/lua.yml @@ -2,8 +2,8 @@ name: lua on: push: - branches: - - stable + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' permissions: contents: read @@ -38,7 +38,7 @@ jobs: - uses: arduino/setup-protoc@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - - run: cargo build --release --features=luajit + - run: cargo build --release --features=lua - id: previoustag uses: "WyriHaximus/github-action-get-previous-tag@v1" with: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 8ad813f..4c4ca50 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -7,8 +7,8 @@ name: python on: push: - branches: - - stable + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' permissions: contents: read @@ -91,9 +91,11 @@ jobs: matrix: versions: - python: 3.8 - features: py-noabi + extra: '' + name: 'py' - python: 3.x - features: py + extra: '--no-default-features' + name: 'py-noabi' platform: - runner: windows-latest target: x64 @@ -114,12 +116,12 @@ jobs: working-directory: dist/py target: ${{ matrix.platform.target }} container: 'off' - args: --release --out ./build --features ${{ matrix.versions.features }} + args: --release --out ./build ${{ matrix.versions.extra }} --features py sccache: 'true' - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: codemp-${{ matrix.versions.features }}-windows-${{ matrix.platform.target }} + name: codemp-${{ matrix.versions.name }}-windows-${{ matrix.platform.target }} path: dist/py/build macos: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d1eeacb..0e93f37 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,8 +2,8 @@ name: rust on: push: - branches: - - stable + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' env: CARGO_TERM_COLOR: always