ci: rm upload and download of artifacts

This commit is contained in:
Nurul Huda (Apon) 2026-07-16 04:47:52 +06:00
parent 19525f12a1
commit f58d2efda7
No known key found for this signature in database
GPG key ID: 5D3F1DE2855A2F79
2 changed files with 9 additions and 17 deletions

View file

@ -5,6 +5,11 @@ on:
branches: [main] branches: [main]
pull_request: pull_request:
branches: [main] branches: [main]
paths:
- 'src/**'
- 'lib/**'
- 'test/**'
- '.github/workflows/ci.yml'
jobs: jobs:
build: build:
@ -31,13 +36,6 @@ jobs:
./zig-out/bin/zx --help || echo "Executable built successfully" ./zig-out/bin/zx --help || echo "Executable built successfully"
shell: bash shell: bash
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: temporalz-${{ matrix.os }}
path: zig-out/
retention-days: 1
test: test:
name: Test (${{ matrix.os }}) name: Test (${{ matrix.os }})
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -54,15 +52,5 @@ jobs:
with: with:
version: 0.17.0-dev.1398+cb5635714 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 - name: Run tests
run: zig build test run: zig build test

View file

@ -4,6 +4,10 @@ on:
push: push:
branches: branches:
- main - main
paths:
- 'src/**'
- 'lib/**'
- '.github/workflows/docs.yml'
workflow_dispatch: workflow_dispatch: