Skip to content

Commit

Permalink
ci: revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicotsx committed Jan 30, 2024
1 parent e1900c7 commit 0e62c17
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,22 +69,13 @@ jobs:
run: |
echo "${{ needs.create-tag.outputs.tagname }}" > src/assets/VERSION
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
targets: "${{ matrix.platform.target }}"

- name: Setup Cache
uses: Swatinem/rust-cache@v2

- name: Build Binary
run: cargo build --verbose --locked --release --target ${{ matrix.platform.target }}

- name: List artifacts
run: tree .

- name: Strip Binary
run: strip target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
command: ${{ matrix.platform.command }}
target: ${{ matrix.platform.target }}
args: "--locked --release"
strip: true

- name: Upload CLI
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 0e62c17

Please sign in to comment.