versioning-test/.gitea/workflows/commit-hash.yaml
Ryan Freeman 89017b5bac
All checks were successful
Commit Hash / BuildAndPublish (push) Successful in 1s
Add workflow
2024-09-21 18:51:43 +01:00

14 lines
233 B
YAML

name: Commit Hash
run-name: Print commit hash
on: [ push ]
jobs:
BuildAndPublish:
runs-on: ubuntu-latest
steps:
- name: Print commit hash
run: |
hash=${{env.GITHUB_SHA}}
echo ${hash::10}