From 55e6928be0df815f61706d7b096a81c41210cfe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Berg=20Glasius?= Date: Sat, 30 Dec 2023 23:20:35 +0100 Subject: [PATCH] Added test-script for bumpversion --- .github/workflows/bumpversion.yml | 15 +++++++++++++++ .github/workflows/github-pages.yml | 6 +++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/bumpversion.yml diff --git a/.github/workflows/bumpversion.yml b/.github/workflows/bumpversion.yml new file mode 100644 index 00000000..cd475e8e --- /dev/null +++ b/.github/workflows/bumpversion.yml @@ -0,0 +1,15 @@ +name: Test +on: + workflow_dispatch: + + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: battila7/get-version-action@v2 + id: get_version + - run: echo ${{ steps.get_version.outputs.version }} + - run: echo ${{ steps.get_version.outputs.version-without-v }} + - run: echo ${{ steps.get_version.outputs.prerelease }} diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index c0551b78..b943b04b 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -2,11 +2,11 @@ name: Deploy docs to Pages on: # Runs on pushes targeting the default branch - push: - branches: [ master ] + #push: + # branches: [ master ] # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: + #workflow_dispatch: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: