ci: rm upload and download of artifacts
This commit is contained in:
parent
19525f12a1
commit
f58d2efda7
2 changed files with 9 additions and 17 deletions
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
|
|
@ -4,6 +4,10 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
- 'lib/**'
|
||||||
|
- '.github/workflows/docs.yml'
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue