Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from Xedon:main #2

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
11 changes: 8 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ jobs:
include:
- os: windows-latest
filename: mococli.exe
- os: ubuntu-latest
output_filename: windows-mococli
- os: ubuntu-22.04
filename: mococli
output_filename: ubuntu-22-mococli
- os: ubuntu-20.04
filename: mococli
output_filename: ubuntu-20-mococli
- os: macos-latest
filename: mococli
output_filename: macos-mococli
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -34,7 +40,6 @@ jobs:
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Check clippy
run: cargo clippy -- -D warnings
Expand All @@ -50,6 +55,6 @@ jobs:
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: target/release/${{ matrix.filename }}
asset_name: ${{ runner.os }}-${{ matrix.filename }}
asset_name: ${{ matrix.output_filename }}
asset_content_type: application/octet-stream
if: ${{ github.event_name == 'release' }}
Loading