Skip to content

Commit 07f6180

Browse files
authored
Merge pull request #32 from Guanran928/ci-debug-profile
ci(build): use debug profile, upload artifacts
2 parents bac22a1 + 5a55465 commit 07f6180

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
BUILD_TARGET: [release]
21+
BUILD_TARGET: [dev]
2222
outputs:
2323
release_built: ${{ steps.set-output.outputs.release_built }}
2424
steps:
@@ -30,3 +30,8 @@ jobs:
3030
run: cargo build --profile ${{ matrix.BUILD_TARGET }}
3131
- name: Run tests in "${{ matrix.BUILD_TARGET }}" mode
3232
run: cargo test --profile ${{ matrix.BUILD_TARGET }}
33+
- name: Upload build artifact
34+
uses: actions/[email protected]
35+
with:
36+
name: rdict
37+
path: target/debug/rdict

0 commit comments

Comments
 (0)