Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikb committed Jul 23, 2023
1 parent 91040bf commit c50d9cf
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/gg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,22 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: "src/stage4"
workspaces: "stage42"

- name: Build
shell: bash
run: |
cd src/stage4
mkdir -p stage42
mv src/stage4/* stage42
rm -rf src
cd stage42
export VERSION=${{needs.version.outputs.version}}
cargo test
cargo build --release --target=${{ matrix.target }}
mkdir stage4
find . -type f -name stage4.exe -exec cp {} stage4 \;
find . -type f -name stage4 -exec cp {} stage4 \;
find . -type f -name stage4.exe -exec cp {} ../stage4 \;
find . -type f -name stage4 -exec cp {} ../stage4 \;
- name: Upload artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit c50d9cf

Please sign in to comment.