-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 917 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
on: [push]
jobs:
Demo_job:
runs-on: ubuntu-latest
name: Demo
steps:
- name: Checkout
uses: actions/checkout@v3
- name: set hash ID
id: Set_hash_ID
run: |
echo "::set-output name=HASH_ID::$( git log --format="%H" -n 1)"
- name: set notes
id: Set_notes
run: |
git fetch origin "refs/notes/*:refs/notes/*"
echo "::set-output name=NOTES::$( git notes show ${{ steps.Set_hash_ID.outputs.HASH_ID }})"
- name: execution-checker-1
uses: moh-alqadi-op/execution-checker@v6
id: execution-checker-1
with:
Flag: '-c'
Hash: ${{ steps.Set_hash_ID.outputs.HASH_ID }}
Encrypted_Hash: '${{ steps.Set_notes.outputs.NOTES }}'
- name: Get the output Encrypted
run: |
echo "${{ steps.execution-checker-1.outputs.Checked }}"