Compare commits
2 Commits
c73808ec66
...
df8786c8e1
Author | SHA1 | Date | |
---|---|---|---|
df8786c8e1 | |||
64d9951f5f |
13
.gitea/workflows/commit-hash.yaml
Normal file
13
.gitea/workflows/commit-hash.yaml
Normal file
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user