mirror of
https://github.com/byReqz/stocheck.git
synced 2024-11-14 19:53:15 +00:00
Update main.yml
This commit is contained in:
parent
6f71adb3c1
commit
9bc026b1d0
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -4,9 +4,15 @@ on:
|
|||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
gethash:
|
getscript:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: get hash of script
|
- name: get script
|
||||||
run: echo $(cat stocheck.sh | md5sum | cut -c -32) > hash
|
|
||||||
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user