Skip to content

Commit

Permalink
Update rust.yml (Make it so you can download the compiled file)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sweattypalms authored Jun 24, 2024
1 parent 1582e82 commit f7e404a
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,18 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-build-
- name: Print environment variables
run: printenv

- name: Print current directory
run: pwd

- name: List current directory contents
run: ls -la

- name: Build
env:
CARGO_MANIFEST_DIR: ${{ github.workspace }}
run: cargo build --verbose
run: cargo build --release --verbose

- name: Run tests
env:
CARGO_MANIFEST_DIR: ${{ github.workspace }}
run: cargo test --verbose

- name: Upload executable
uses: actions/upload-artifact@v2
with:
name: ferrumc2_0
path: target/release/ferrumc2_0

0 comments on commit f7e404a

Please sign in to comment.