mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
ci: pass GITHUB_TOKEN to setup_protoc
hopefully will resolve a lot of these rate limit errors
This commit is contained in:
parent
317990e7e4
commit
c0799df2b4
6 changed files with 11 additions and 0 deletions
1
.github/workflows/java.yml
vendored
1
.github/workflows/java.yml
vendored
|
@ -28,6 +28,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: gradle/actions/setup-gradle@v4
|
||||
with:
|
||||
gradle-version: "8.10" # Quotes required to prevent YAML converting to number
|
||||
|
|
2
.github/workflows/javascript.yml
vendored
2
.github/workflows/javascript.yml
vendored
|
@ -24,6 +24,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
|
@ -46,6 +47,7 @@ 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 }}
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
|
|
2
.github/workflows/lua.yml
vendored
2
.github/workflows/lua.yml
vendored
|
@ -28,6 +28,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: arduino/setup-protoc@v3
|
||||
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
|
||||
|
@ -53,6 +54,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: arduino/setup-protoc@v3
|
||||
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:
|
||||
|
|
4
.github/workflows/python.yml
vendored
4
.github/workflows/python.yml
vendored
|
@ -30,6 +30,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
@ -64,6 +65,7 @@ jobs:
|
|||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - uses: arduino/setup-protoc@v3
|
||||
# repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# - uses: actions/setup-python@v5
|
||||
# with:
|
||||
# python-version: 3.x
|
||||
|
@ -93,6 +95,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
@ -123,6 +126,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
|
1
.github/workflows/rust.yml
vendored
1
.github/workflows/rust.yml
vendored
|
@ -16,6 +16,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: arduino/setup-protoc@v3
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- run: cargo publish --locked --token ${{ secrets.CRATES_IO_TOKEN }}
|
||||
|
|
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
@ -31,6 +31,7 @@ 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 }}
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue