chore(ci): update workflow

This commit is contained in:
graelo 2020-06-02 23:05:35 +02:00
parent c4e7f1d1e3
commit 57ebb10331

View file

@ -1,45 +0,0 @@
name: Rust
on:
push:
branches:
- '*'
pull_request:
branches:
- 'master'
env:
CARGO_TERM_COLOR: always
jobs:
build-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --release
- uses: actions/upload-artifact@v2
with:
name: copyrat-macos.zip
path: ./target/release/*copyrat
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt update -y
sudo apt-get install -y curl gnupg ca-certificates git gcc-multilib g++-multilib cmake libssl-dev pkg-config python
- name: Build
run: cargo build --release
- uses: actions/upload-artifact@v2
with:
name: copyrat-linux.zip
path: ./target/release/*copyrat