From f58d2efda714f0bf97841a6a454de93985c62841 Mon Sep 17 00:00:00 2001 From: "Nurul Huda (Apon)" Date: Thu, 16 Jul 2026 04:47:52 +0600 Subject: [PATCH] ci: rm upload and download of artifacts --- .github/workflows/ci.yml | 22 +++++----------------- .github/workflows/docs.yml | 4 ++++ 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c1620a..d674565 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,11 @@ on: branches: [main] pull_request: branches: [main] + paths: + - 'src/**' + - 'lib/**' + - 'test/**' + - '.github/workflows/ci.yml' jobs: build: @@ -31,13 +36,6 @@ jobs: ./zig-out/bin/zx --help || echo "Executable built successfully" shell: bash - - name: Upload build artifacts - uses: actions/upload-artifact@v4 - with: - name: temporalz-${{ matrix.os }} - path: zig-out/ - retention-days: 1 - test: name: Test (${{ matrix.os }}) runs-on: ${{ matrix.os }} @@ -54,15 +52,5 @@ jobs: with: version: 0.17.0-dev.1398+cb5635714 - - name: Download build artifacts - uses: actions/download-artifact@v4 - with: - name: temporalz-${{ matrix.os }} - path: zig-out/ - - - name: Make executable (Unix) - if: runner.os != 'Windows' - run: chmod +x zig-out/bin/temporalz - - name: Run tests run: zig build test diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a7ffb15..73ecf50 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - 'src/**' + - 'lib/**' + - '.github/workflows/docs.yml' workflow_dispatch: