build(ci): recognize windows exe
This commit is contained in:
parent
ced5c4b3ef
commit
77bc359d8a
|
@ -15,17 +15,17 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
- run: cargo test --no-default-features
|
|
||||||
- name: Install libdbus on Ubuntu
|
- name: Install libdbus on Ubuntu
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libdbus-1-dev
|
sudo apt-get install -y libdbus-1-dev
|
||||||
|
- run: cargo test
|
||||||
- run: cargo build --release
|
- run: cargo build --release
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: mostr_${{ github.sha }}_${{ matrix.os }}
|
name: mostr_${{ github.sha }}_${{ matrix.os }}
|
||||||
path: target/release/mostr
|
path: target/release/mostr*
|
||||||
#build-arm:
|
#build-arm:
|
||||||
# runs-on: ${{ matrix.os }}
|
# runs-on: ${{ matrix.os }}
|
||||||
# if: startsWith(github.ref, 'refs/tags/')
|
# if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
|
Loading…
Reference in New Issue