Correct GITHUB_TOKEN handling

This commit is contained in:
Luke Parker
2023-01-01 04:09:10 -05:00
parent f10bcfddcb
commit bff5f33616
4 changed files with 19 additions and 1 deletions

View File

@@ -2,6 +2,11 @@ name: build-dependencies
description: Installs build dependencies for Serai
inputs:
github-token:
description: "GitHub token to install Protobuf with"
require: true
default:
rust-toolchain:
description: "Rust toolchain to install"
required: false
@@ -18,7 +23,7 @@ runs:
- name: Install Protobuf
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ inputs.github-token }}
- name: Install solc
shell: bash