mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-26 23:04:55 +01:00
ci: fix syntax, needs a with
i always do this wrong..
This commit is contained in:
parent
c0799df2b4
commit
8970cb3d92
6 changed files with 22 additions and 11 deletions
3
.github/workflows/java.yml
vendored
3
.github/workflows/java.yml
vendored
|
@ -28,7 +28,8 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: gradle/actions/setup-gradle@v4
|
||||
with:
|
||||
gradle-version: "8.10" # Quotes required to prevent YAML converting to number
|
||||
|
|
6
.github/workflows/javascript.yml
vendored
6
.github/workflows/javascript.yml
vendored
|
@ -24,7 +24,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
|
@ -47,7 +48,8 @@ jobs:
|
|||
# some github resources and build another time here, discarding the binary
|
||||
- uses: actions/checkout@v4
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
|
|
6
.github/workflows/lua.yml
vendored
6
.github/workflows/lua.yml
vendored
|
@ -28,7 +28,8 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: cargo build --release --features=luajit
|
||||
- run: mv target/release/${{ matrix.platform.pre}}codemp.${{ matrix.platform.ext }} dist/lua/codemp-lua-${{ matrix.platform.target }}.${{ matrix.platform.ext }}
|
||||
- uses: actions/upload-artifact@v4
|
||||
|
@ -54,7 +55,8 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: cargo rustc --release --features=luajit -- -C link-arg=-undefined -C link-arg=dynamic_lookup
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
12
.github/workflows/python.yml
vendored
12
.github/workflows/python.yml
vendored
|
@ -30,7 +30,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
@ -65,7 +66,8 @@ jobs:
|
|||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - uses: arduino/setup-protoc@v3
|
||||
# repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# - uses: actions/setup-python@v5
|
||||
# with:
|
||||
# python-version: 3.x
|
||||
|
@ -95,7 +97,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
@ -126,7 +129,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
|
3
.github/workflows/rust.yml
vendored
3
.github/workflows/rust.yml
vendored
|
@ -16,7 +16,8 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- run: cargo publish --locked --token ${{ secrets.CRATES_IO_TOKEN }}
|
||||
|
|
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
@ -31,7 +31,8 @@ jobs:
|
|||
# TODO should re-enable future toolchains so we get warnings on breaking changes
|
||||
steps:
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue