diff --git a/.gitea/workflows/commit-hash.yaml b/.gitea/workflows/commit-hash.yaml new file mode 100644 index 0000000..0ab69e8 --- /dev/null +++ b/.gitea/workflows/commit-hash.yaml @@ -0,0 +1,13 @@ +name: Commit Hash +run-name: Print commit hash +on: [ push ] + +jobs: + CommitHash: + runs-on: ubuntu-latest + steps: + - name: Print commit hash + run: | + hash=${{env.GITHUB_SHA}} + echo ${hash::10} +