File tree 2 files changed +32
-6
lines changed
2 files changed +32
-6
lines changed Original file line number Diff line number Diff line change 18
18
openjdk14 :
19
19
runs-on : ubuntu-latest
20
20
steps :
21
+ - name : Check if organization member
22
+ id : check_org_member
23
+ uses : Mind-Sports-Games/check-org-member@v1.1.0
24
+ with :
25
+ username : ${{ github.actor }}
26
+ token : ${{ secrets.GITHUB_TOKEN }}
27
+ - name : Check Failed
28
+ if : ${{ steps.check_org_member.outputs.result == 'false' }}
29
+ run : |
30
+ echo User Does Not Belong to Mind-Sports-Games
31
+ exit 1
32
+ - name : Check Passed
33
+ run : echo The actor is an organization member
21
34
- uses : actions/checkout@v4
22
35
- uses : actions/cache@v4
23
36
with :
Original file line number Diff line number Diff line change 6
6
openjdk13 :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@v4
10
- - uses : actions/setup-java@v4
11
- with :
12
- distribution : temurin
13
- java-version : 17.0.5
14
- - run : sbt compile
9
+ - name : Check if organization member
10
+ id : check_org_member
11
+ uses : Mind-Sports-Games/check-org-member@v1.1.0
12
+ with :
13
+ username : ${{ github.actor }}
14
+ token : ${{ secrets.GITHUB_TOKEN }}
15
+ - name : Check Failed
16
+ if : ${{ steps.check_org_member.outputs.result == 'false' }}
17
+ run : |
18
+ echo User Does Not Belong to Mind-Sports-Games
19
+ exit 1
20
+ - name : Check Passed
21
+ run : echo The actor is an organization member
22
+ - uses : actions/checkout@v4
23
+ - uses : actions/setup-java@v4
24
+ with :
25
+ distribution : temurin
26
+ java-version : 17.0.5
27
+ - run : sbt compile
You can’t perform that action at this time.
0 commit comments