mirror of
https://github.com/byReqz/stocheck.git
synced 2024-11-14 19:53:15 +00:00
21 lines
476 B
YAML
21 lines
476 B
YAML
name: gethash
|
|
on: [push]
|
|
jobs:
|
|
gethash:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v2
|
|
|
|
- name: get hash of script
|
|
run: echo $(md5sum stocheck.sh | cut -c -32) > hash
|
|
|
|
- name: Commit hash
|
|
uses: EndBug/add-and-commit@v7
|
|
with:
|
|
author_name: actions
|
|
author_email: nils@byreqz.de
|
|
message: 'updated hash after commit'
|
|
add: 'hash'
|
|
|