feat(build): set GITHUB_TOKEN for upterm session
This commit is contained in:
parent
ea88e37623
commit
7afd3dc380
1 changed files with 6 additions and 0 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -87,6 +87,12 @@ jobs:
|
||||||
run: nix build --keep-going -L ${{ inputs.packages }}
|
run: nix build --keep-going -L ${{ inputs.packages }}
|
||||||
if: ${{ inputs.packages != '' }}
|
if: ${{ inputs.packages != '' }}
|
||||||
|
|
||||||
|
- name: set GITHUB_TOKEN
|
||||||
|
if: ${{ inputs.upterm }}
|
||||||
|
run: echo "GITHUB_TOKEN=${GITHUB_TOKEN}" >> "$GITHUB_ENV"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
- name: start upterm session
|
- name: start upterm session
|
||||||
if: ${{ inputs.upterm }}
|
if: ${{ inputs.upterm }}
|
||||||
uses: owenthereal/action-upterm@v1
|
uses: owenthereal/action-upterm@v1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue