1
0
mirror of https://github.com/byReqz/stocheck.git synced 2024-11-22 14:41:15 +00:00

Update main.yml

This commit is contained in:
Nils 2021-01-25 14:59:33 +00:00 committed by GitHub
parent 6f71adb3c1
commit 9bc026b1d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,15 @@ on:
branches: [ main ]
workflow_dispatch:
jobs:
gethash:
getscript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: get hash of script
run: echo $(cat stocheck.sh | md5sum | cut -c -32) > hash
- name: get script
- name: gethash
uses: DamianReeves/write-file-action@v1.0
with:
path: /home/runner/work/stocheck/stocheck/hash
contents: stocheck.sh | md5sum | cut -c -32
write-mode: overwrite