From 7573f01ae38b267bb9780de0d1d12651269c56e5 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Tue, 5 Sep 2023 13:24:20 -0700 Subject: [PATCH] ${{ github.server_url }} not currently working (gitea issue 23276) --- .gitea/workflows/build.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c915d4c..b84cf2d 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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: