Skip to content

Commit f7e404a

Browse files
authored
Update rust.yml (Make it so you can download the compiled file)
1 parent 1582e82 commit f7e404a

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/rust.yml

+7-10
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,18 @@ jobs:
3939
restore-keys: |
4040
${{ runner.os }}-cargo-build-
4141
42-
- name: Print environment variables
43-
run: printenv
44-
45-
- name: Print current directory
46-
run: pwd
47-
48-
- name: List current directory contents
49-
run: ls -la
50-
5142
- name: Build
5243
env:
5344
CARGO_MANIFEST_DIR: ${{ github.workspace }}
54-
run: cargo build --verbose
45+
run: cargo build --release --verbose
5546

5647
- name: Run tests
5748
env:
5849
CARGO_MANIFEST_DIR: ${{ github.workspace }}
5950
run: cargo test --verbose
51+
52+
- name: Upload executable
53+
uses: actions/upload-artifact@v2
54+
with:
55+
name: ferrumc2_0
56+
path: target/release/ferrumc2_0

0 commit comments

Comments
 (0)