From 0f35e0ef438e5c791df6f71da45341f190aad22e Mon Sep 17 00:00:00 2001 From: Johan Kaving Date: Fri, 5 Jan 2024 00:34:52 +0100 Subject: [PATCH] Add action for making releases --- .github/workflows/tagged-release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/tagged-release.yml diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml new file mode 100644 index 0000000..2077928 --- /dev/null +++ b/.github/workflows/tagged-release.yml @@ -0,0 +1,28 @@ + +name: tagged-release + +on: + push: + 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