From c0f130fa22988c798d92c16a1acaa782aebf8206 Mon Sep 17 00:00:00 2001 From: NatureFreshMilk Date: Thu, 28 Nov 2019 13:08:09 +0100 Subject: [PATCH] release action --- .github/workflows/release.yml | 22 ++++++++++++++++++++++ .github/workflows/test.yml | 15 --------------- 2 files changed, 22 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..0aa7d6b --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: release + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + + - name: build + run: make release + + - name: upload + uses: skx/github-action-publish-binaries@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + args: 'output/mapserver-*' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 890ba65..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: test - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - - name: test - run: make release -