From d82ceb87dd5ca0185bd9a64e6a3d17e4a5619c2e Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Mon, 5 Jul 2021 14:29:18 +0200 Subject: [PATCH] [GHA] Modify releases.yml --- .github/workflows/releases.yml | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index dc6acd671..43163523f 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -1,24 +1,17 @@ -name: "tagged-release" +name: Releases -on: +on: push: tags: - - "*" + - '*' jobs: - tagged-release: - name: "Tagged Release" - runs-on: "ubuntu-latest" + build: + runs-on: ubuntu-latest steps: - - name: "Deploy Release" - run: | - echo "Deploying" - - - uses: "marvinpinto/action-automatic-releases@latest" - with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - prerelease: false - files: | - README.md - LICENSE.md + - uses: actions/checkout@v2 + - uses: ncipollo/release-action@v1 + with: + artifacts: "README.md,LICENSE.md" + token: ${{ secrets.GITHUB_TOKEN }}