${{ github.server_url }} not currently working (gitea issue 23276)
Some checks reported warnings
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Has been cancelled

This commit is contained in:
Emil Lerch 2023-09-05 13:24:20 -07:00
parent 74143e90ba
commit 7573f01ae3
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -3,7 +3,7 @@ run-name: ${{ github.actor }} building AWS Zig SDK
on: [push]
env:
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTIONS_RUNTIME_URL: ${{ github.server_url }}/api/actions_pipeline/
ACTIONS_RUNTIME_URL: $GITHUB_SERVER_URL/api/actions_pipeline/
jobs:
build-zig-0.11.0-amd64-host:
runs-on: ubuntu-latest
@ -15,6 +15,8 @@ jobs:
ZIG_VERSION: 0.11.0
ARCH: x86_64
steps:
- run: echo ${GITHUB_SERVER_URL}/api/actions_pipeline
- run: echo ${ACTIONS_RUNTIME_URL}
- name: Check out repository code
uses: actions/checkout@v3
# ARCH is fine, but we can't substitute directly because zig
@ -33,9 +35,6 @@ jobs:
- run: zig build -Dtarget=x86_64-macos
- run: zig build -Dtarget=aarch64-macos
- run: tar -czf ${{ runner.temp }}/${{ github.sha }}-with-models.tgz --exclude 'zig-*' *
- run: ls -l ${{ runner.temp }}/${{ github.sha }}-with-models.tgz
- run: tar -tzf ${{ runner.temp }}/${{ github.sha }}-with-models.tgz
- run: echo '${{ github.server_url }}/api/actions_pipeline'
- name: Upload
uses: actions/upload-artifact@v3
with: