Skip to content

Commit 376edea

Browse files
committed
fix(ci): artifacts not uploading
1 parent a9e4838 commit 376edea

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/build.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,14 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest, windows-latest, macOS-latest]
18-
toolchain:
19-
- stable
20-
- beta
21-
- nightly
2218

2319
steps:
2420
- uses: actions/checkout@v4
25-
- name: Update rust
26-
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
2721
- name: Build
2822
run: cargo build --verbose
2923
- name: Upload artifacts
3024
uses: actions/upload-artifact@v4
3125
with:
32-
name: my-artifact
26+
name: envfetch-${{ matrix.os }}
3327
path: |
3428
target/debug/envfetch*

.github/workflows/test.yml

+7
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,16 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest, windows-latest, macOS-latest]
18+
toolchain:
19+
- stable
20+
- beta
21+
- nightly
22+
1823

1924
steps:
2025
- uses: actions/checkout@v4
26+
- name: Update rust
27+
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
2128
- name: Build
2229
run: cargo build --verbose
2330
- name: Run tests

0 commit comments

Comments
 (0)