Skip to content

Commit

Permalink
Fix packaging of windows build, remove no longer required setup step
Browse files Browse the repository at this point in the history
  • Loading branch information
dns13 committed Mar 5, 2024
1 parent 0cbd3b8 commit f2705f8
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,8 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Setup
run: |
apt-get update
apt-get install -y cmake
- name: Build
run: |
cargo build --release
run: cargo build --release
- name: Clean up hierachy
run: cp LICENSE target/release/LICENSE
- name: Archive artifacts
Expand All @@ -88,21 +83,15 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Setup
run: |
apt-get update
apt-get install -y mingw-w64 cmake
rustup target add x86_64-pc-windows-gnu
restore-keys: ${{ runner.os }}-cargo-
- name: Build
run: |
cargo build --release --target=x86_64-pc-windows-gnu
run: cargo build --release --target=x86_64-pc-windows-gnu
- name: Clean up hierachy
run: cp LICENSE target/x86_64-pc-windows-gnu/release/LICENSE
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: x84_64-windows
path: |
target/x86_64-pc-windows-gnu/release/bemos_s3uploader.exe
target/x86_64-pc-windows-gnu/release/bone_shell.exe
target/x86_64-pc-windows-gnu/release/LICENSE

0 comments on commit f2705f8

Please sign in to comment.