mirror of
https://github.com/house-of-vanity/khm.git
synced 2025-07-07 15:24:07 +00:00
Update main.yml
This commit is contained in:
committed by
GitHub
parent
41cc5a7bb1
commit
643ea91f27
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -44,12 +44,6 @@ jobs:
|
||||
- name: Build MacOS and Windows
|
||||
if: matrix.os != 'ubuntu-latest'
|
||||
run: cargo build --target ${{ matrix.build_target }} --release
|
||||
- name: Strip binary on Linux and macOS
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: strip target/${{ matrix.build_target }}/release/${{ env.BINARY_NAME }}
|
||||
- name: Strip binary on Windows
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: C:\\tools\\mingw64\\bin\\strip.exe target\\${{ matrix.build_target }}\\release\\${{ env.BINARY_NAME }}.exe
|
||||
- name: Get version
|
||||
run: echo "VERSION=$(grep -P '^version = \"\\d+\\.\\d+\\.\\d+\"' Cargo.toml | awk -F '\"' '{print $2}')" >> $GITHUB_ENV
|
||||
- name: Show version
|
||||
|
Reference in New Issue
Block a user