There was an error while loading. Please reload this page.
1 parent 13ef617 commit 25bba75Copy full SHA for 25bba75
1 file changed
.github/workflows/rust.yml
@@ -60,12 +60,18 @@ jobs:
60
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
61
- uses: Swatinem/rust-cache@v2
62
- run: cargo build --verbose --release
63
+ - name: Prepare artifacts
64
+ shell: bash
65
+ run: |
66
+ mkdir -p dist
67
+ if [ "${{ runner.os }}" == "Windows" ]; then EXT=".exe"; fi
68
+ cp "target/release/pumpkin$EXT" "dist/pumpkin-${{ runner.arch }}-${{ runner.os }}$EXT"
69
- name: Export executable
70
uses: actions/upload-artifact@v4
71
with:
- name: pumpkin-${{ matrix.os }}
72
+ name: pumpkin-${{ runner.arch }}-${{ runner.os }}
73
compression-level: 9
- path: target/${{ matrix.target }}/release/pumpkin*
74
+ path: dist/pumpkin-*
75
clippy_release:
76
name: Run lints in release mode
77
runs-on: ubuntu-latest
0 commit comments