From b8b18e2edca5c8d4b765b92e8d4483a060317d21 Mon Sep 17 00:00:00 2001 From: Johan Kaving Date: Fri, 5 Jan 2024 00:51:02 +0100 Subject: [PATCH] Update release workflow to actually create release --- .github/workflows/tagged-release.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index e92533e..fe14ce5 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -1,4 +1,3 @@ - name: tagged-release on: @@ -6,23 +5,19 @@ on: tags: - "v*" - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - jobs: tagged-release: runs-on: ubuntu-latest steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - # Runs a single command using the runners shell - name: Create settings.jar run: ./buildjar.sh - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: | - echo Contents of jar - unzip -l settings.jar + - uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + prerelease: false + files: | + settings.jar