diff options
author | Starscouts <starscouts@equestria.dev> | 2024-07-18 11:57:52 +0200 |
---|---|---|
committer | Starscouts <starscouts@equestria.dev> | 2024-07-18 11:57:52 +0200 |
commit | 36a195d9ba019db805738f97b36bb459985014b4 (patch) | |
tree | 19adc460b00a0a65a7654f3e05afa48919cdc8ae | |
parent | 5f6cdcf1efe6b0bed2e806abfb0619e199f2b6f9 (diff) | |
parent | 95fb98af0f07595425a9840df203dd9e3b44127f (diff) | |
download | where-rs-36a195d9ba019db805738f97b36bb459985014b4.tar.gz where-rs-36a195d9ba019db805738f97b36bb459985014b4.tar.bz2 where-rs-36a195d9ba019db805738f97b36bb459985014b4.zip |
Merge branch 'mane' of github.com:equestria-dev/where-rs into mane1.2.0
-rw-r--r-- | .github/workflows/build_where.yml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/build_where.yml b/.github/workflows/build_where.yml index 684fcda..3de1873 100644 --- a/.github/workflows/build_where.yml +++ b/.github/workflows/build_where.yml @@ -18,6 +18,9 @@ jobs: os: [ ubuntu-latest, macos-latest ] profile: [ dev, release ] + env: + BUILD_NAME: ${{ matrix.profile == 'dev' && 'debug' || matrix.profile }} + steps: - uses: actions/checkout@v4 - name: Build @@ -25,7 +28,7 @@ jobs: - name: Check run: cargo clippy --profile ${{ matrix.profile }} -- -D warnings - name: Test message exchange - working-directory: target/${{ matrix.profile == 'dev' && 'debug' || matrix.profile }} + working-directory: target/${{ env.BUILD_NAME }} run: | touch ~/.config/where.toml echo '[global]' >> ~/.config/where.toml @@ -42,3 +45,10 @@ jobs: done ./where + - name: Upload build + uses: actions/upload-artifact@v4 + with: + name: where-rs-${{ matrix.os }}-${{ env.BUILD_NAME }} + path: | + target/${{ env.BUILD_NAME }}/where + target/${{ env.BUILD_NAME }}/whered |