Add workflow
All checks were successful
Commit Hash / BuildAndPublish (push) Successful in 1s

This commit is contained in:
Ryan Freeman 2024-09-21 18:51:43 +01:00
parent c73808ec66
commit 89017b5bac

View File

@ -0,0 +1,13 @@
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}