Skip to content

Commit

Permalink
Create versioning-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWollbrink authored Oct 10, 2023
1 parent 4fe2025 commit 27523c2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/versioning-workflow.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 27523c2

Please sign in to comment.