mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-06-27 16:35:58 +00:00
ci: Set token via windows environment
This commit is contained in:
parent
1c5f6ed2e2
commit
9d9aa97a48
1 changed files with 6 additions and 1 deletions
7
.github/workflows/windows-tests.yml
vendored
7
.github/workflows/windows-tests.yml
vendored
|
@ -74,7 +74,12 @@ jobs:
|
|||
shell: wsl-bash {0}
|
||||
run: |
|
||||
TOKEN=$(cat /tmp/runner_token.txt)
|
||||
echo "RUNNER_TOKEN=$TOKEN" >> $GITHUB_ENV
|
||||
echo "$TOKEN" > /mnt/c/runner_token.txt
|
||||
|
||||
- name: Set Runner Token in Windows Environment
|
||||
run: |
|
||||
$token = Get-Content -Path "C:\runner_token.txt"
|
||||
echo "RUNNER_TOKEN=$token" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Wait for Forgejo to be accessible from Windows
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue