From 9bc026b1d0262d8384ed31dc68bd58b350fd444e Mon Sep 17 00:00:00 2001 From: Nils <32552517+byReqz@users.noreply.github.com> Date: Mon, 25 Jan 2021 14:59:33 +0000 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 173877c..3d558f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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