From cd8a9b0c76c3e9c885f0c567cf531009e061c3af Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Sat, 2 Aug 2025 12:34:32 +0200 Subject: [PATCH] try upload-artifact@v3 --- .gitea/workflows/build.yaml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 6dca5e1..26d31e0 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,19 +3,6 @@ run-name: ${{ gitea.actor }} is building on: [push] jobs: - build: - runs-on: ubuntu-latest - steps: - - run: printenv - - name: Check out repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - fetch-tags: '' - - run: wget http://172.17.0.1:8081/repository/ziglang.org/download/0.14.1/zig-x86_64-linux-0.14.1.tar.xz - - run: tar xfv zig-x86_64-linux-0.14.1.tar.xz - - run: ./zig-x86_64-linux-0.14.1/zig build -Doptimize=ReleaseSmall - - run: ./zig-x86_64-linux-0.14.1/zig build -Doptimize=ReleaseSmall -Dtarget=x86_64-windows release: name: ${{ matrix.target }} @@ -37,11 +24,11 @@ jobs: - run: wget http://172.17.0.1:8081/repository/ziglang.org/download/0.14.1/zig-x86_64-linux-0.14.1.tar.xz - run: tar xfv zig-x86_64-linux-0.14.1.tar.xz - run: ./zig-x86_64-linux-0.14.1/zig build -Doptimize=ReleaseSmall -Dtarget=${{ matrix.target }} -Dexe_name=zig-totp-$GITHUB_REF_NAME-${{ matrix.target }} - - name: Cache - uses: actions/cache/save@v4 + - name: upload artifacts + uses: actions/upload-artifact@v3 with: - key: results - path: . + name: zig-totp-${{matrix.target }} + path: zig-out