From fd63bbf98d7957e5a40f50938eadde5185c07d6b Mon Sep 17 00:00:00 2001 From: Justin Lambert Date: Thu, 5 Sep 2019 11:43:56 +0200 Subject: [PATCH] compile for release --- .github/build | 1 + .github/workflows/release.yml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .github/build create mode 100644 .github/workflows/release.yml diff --git a/.github/build b/.github/build new file mode 100644 index 0000000..0abf666 --- /dev/null +++ b/.github/build @@ -0,0 +1 @@ +cargo build --release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..3fde6b0 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,14 @@ +on: release +name: Handle Release +jobs: + upload: + name: Upload Artifacts + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Upload + uses: skx/github-action-publish-binaries@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + args: './target/release/main'