From d11098dd75b3c3b76389b4d06f458556c6e6724e Mon Sep 17 00:00:00 2001 From: House of Vanity Date: Fri, 17 Apr 2020 18:31:04 +0300 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..baf96ee --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: Rust + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Build + run: cargo build --verbose --release + - name: Upload to release + uses: JasonEtco/upload-to-release@master + with: + args: target/release/mus_fuse application/x-pie-executable + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}