From 27523c2a3b914983c1af55e237001331e3aca837 Mon Sep 17 00:00:00 2001 From: AlexanderWollbrink <68860592+AlexanderWollbrink@users.noreply.github.com> Date: Tue, 10 Oct 2023 08:46:52 +0200 Subject: [PATCH] Create versioning-workflow.yml --- .github/workflows/versioning-workflow.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/versioning-workflow.yml diff --git a/.github/workflows/versioning-workflow.yml b/.github/workflows/versioning-workflow.yml new file mode 100644 index 000000000..ecee50d58 --- /dev/null +++ b/.github/workflows/versioning-workflow.yml @@ -0,0 +1,20 @@ +name: versioning-workflow + +on: + push: + +jobs: + versioning: + runs-on: ubuntu-latest + if: contains(github.event.pull_request.body, 'The workflow versioning-workflow was intentionally skipped.') == false + steps: + - uses: actions/checkout@master + + - name: Display the path + run: | + cd src + rm -f version.txt + touch version.txt + echo "Version from the branch: ${GITHUB_REF_NAME}" + echo "Using the commit: $(git rev-parse --short "$GITHUB_SHA")" + shell: bash