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