Skip to content

Commit 96c01b6

Browse files
authored
chore: token setup through action (#32945)
1 parent c372f8f commit 96c01b6

11 files changed

Lines changed: 28 additions & 155 deletions

.github/workflows/binary-compatibility-checks.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,8 @@ jobs:
4242
# to be fully defined here then since Akka build handles which patch version will be used.
4343
scalaVersion: [ "2.13", "3.3" ]
4444
steps:
45-
- name: Checkout Global Scripts
46-
uses: actions/checkout@v6
47-
with:
48-
repository: akka/github-actions-scripts
49-
path: scripts
50-
fetch-depth: 0
51-
52-
- name: Setup global resolver
53-
run: |
54-
chmod +x ./scripts/setup_global_resolver.sh
55-
./scripts/setup_global_resolver.sh
45+
- name: Run akka/github-actions-scripts
46+
uses: akka/github-actions-scripts/setup_global_resolver@main
5647

5748
- name: Checkout
5849
# https://github.com/actions/checkout/releases

.github/workflows/build-test-prValidation.yml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,8 @@ jobs:
3232
if: needs.changes.outputs.release_prep_only != 'true'
3333
runs-on: Akka-Default
3434
steps:
35-
- name: Checkout Global Scripts
36-
uses: actions/checkout@v6
37-
with:
38-
repository: akka/github-actions-scripts
39-
path: scripts
40-
fetch-depth: 0
41-
42-
- name: Setup global resolver
43-
run: |
44-
chmod +x ./scripts/setup_global_resolver.sh
45-
./scripts/setup_global_resolver.sh
35+
- name: Run akka/github-actions-scripts
36+
uses: akka/github-actions-scripts/setup_global_resolver@main
4637

4738
- name: Checkout
4839
# https://github.com/actions/checkout/releases
@@ -75,17 +66,8 @@ jobs:
7566
if: needs.changes.outputs.release_prep_only != 'true'
7667
runs-on: Akka-Default
7768
steps:
78-
- name: Checkout Global Scripts
79-
uses: actions/checkout@v6
80-
with:
81-
repository: akka/github-actions-scripts
82-
path: scripts
83-
fetch-depth: 0
84-
85-
- name: Setup global resolver
86-
run: |
87-
chmod +x ./scripts/setup_global_resolver.sh
88-
./scripts/setup_global_resolver.sh
69+
- name: Run akka/github-actions-scripts
70+
uses: akka/github-actions-scripts/setup_global_resolver@main
8971

9072
- name: Checkout
9173
# https://github.com/actions/checkout/releases

.github/workflows/check-samples.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,8 @@ jobs:
3838
SCALA3_VERSION: 3.3.7
3939

4040
steps:
41-
- name: Checkout Global Scripts
42-
# This MUST be before the main checkout or else the dynver will not work
43-
uses: actions/checkout@v6
44-
with:
45-
repository: akka/github-actions-scripts
46-
path: scripts
47-
fetch-depth: 0
48-
49-
- name: Setup global resolver
50-
run: |
51-
chmod +x ./scripts/setup_global_resolver.sh
52-
./scripts/setup_global_resolver.sh
41+
- name: Run akka/github-actions-scripts
42+
uses: akka/github-actions-scripts/setup_global_resolver@main
5343

5444
- name: Checkout
5545
# https://github.com/actions/checkout/releases

.github/workflows/link-validator.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,8 @@ jobs:
1313
runs-on: Akka-Default
1414
if: github.event.repository.fork == false
1515
steps:
16-
- name: Checkout Global Scripts
17-
uses: actions/checkout@v6
18-
with:
19-
repository: akka/github-actions-scripts
20-
path: scripts
21-
fetch-depth: 0
22-
23-
- name: Setup global resolver
24-
run: |
25-
chmod +x ./scripts/setup_global_resolver.sh
26-
./scripts/setup_global_resolver.sh
16+
- name: Run akka/github-actions-scripts
17+
uses: akka/github-actions-scripts/setup_global_resolver@main
2718

2819
- name: Checkout
2920
# https://github.com/actions/checkout/releases

.github/workflows/multi-node-aeron.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,8 @@ jobs:
2525
runs-on: Akka-Default
2626
if: github.event.repository.fork == false
2727
steps:
28-
- name: Checkout Global Scripts
29-
uses: actions/checkout@v6
30-
with:
31-
repository: akka/github-actions-scripts
32-
path: scripts
33-
fetch-depth: 0
34-
35-
- name: Setup global resolver
36-
run: |
37-
chmod +x ./scripts/setup_global_resolver.sh
38-
./scripts/setup_global_resolver.sh
28+
- name: Run akka/github-actions-scripts
29+
uses: akka/github-actions-scripts/setup_global_resolver@main
3930

4031
- name: Checkout
4132
# https://github.com/actions/checkout/releases

.github/workflows/multi-node.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,8 @@ jobs:
2424
runs-on: Akka-Default
2525
if: github.event.repository.fork == false
2626
steps:
27-
- name: Checkout Global Scripts
28-
uses: actions/checkout@v6
29-
with:
30-
repository: akka/github-actions-scripts
31-
path: scripts
32-
fetch-depth: 0
33-
34-
- name: Setup global resolver
35-
run: |
36-
chmod +x ./scripts/setup_global_resolver.sh
37-
./scripts/setup_global_resolver.sh
27+
- name: Run akka/github-actions-scripts
28+
uses: akka/github-actions-scripts/setup_global_resolver@main
3829

3930
- name: Checkout
4031
# https://github.com/actions/checkout/releases

.github/workflows/native-image-tests.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,8 @@ jobs:
1313
name: Run Native Image Tests
1414
runs-on: Akka-Default
1515
steps:
16-
- name: Checkout Global Scripts
17-
uses: actions/checkout@v6
18-
with:
19-
repository: akka/github-actions-scripts
20-
path: scripts
21-
fetch-depth: 0
22-
23-
- name: Setup global resolver
24-
run: |
25-
chmod +x ./scripts/setup_global_resolver.sh
26-
./scripts/setup_global_resolver.sh
16+
- name: Run akka/github-actions-scripts
17+
uses: akka/github-actions-scripts/setup_global_resolver@main
2718

2819
- name: Checkout
2920
# https://github.com/actions/checkout/releases

.github/workflows/nightly-builds.yml

Lines changed: 6 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,8 @@ jobs:
1818
runs-on: Akka-Default
1919
if: github.event.repository.fork == false
2020
steps:
21-
- name: Checkout Global Scripts
22-
uses: actions/checkout@v6
23-
with:
24-
repository: akka/github-actions-scripts
25-
path: scripts
26-
fetch-depth: 0
27-
28-
- name: Setup global resolver
29-
run: |
30-
chmod +x ./scripts/setup_global_resolver.sh
31-
./scripts/setup_global_resolver.sh
21+
- name: Run akka/github-actions-scripts
22+
uses: akka/github-actions-scripts/setup_global_resolver@main
3223

3324
- name: Checkout
3425
# https://github.com/actions/checkout/releases
@@ -110,17 +101,8 @@ jobs:
110101
- { scalaVersion: "3.3", jdkVersion: "1.17.0", jvmName: "temurin:1.17.0", extraOpts: '' }
111102
- { scalaVersion: "3.3", jdkVersion: "1.25.0", jvmName: "temurin:1.25", extraOpts: '' }
112103
steps:
113-
- name: Checkout Global Scripts
114-
uses: actions/checkout@v6
115-
with:
116-
repository: akka/github-actions-scripts
117-
path: scripts
118-
fetch-depth: 0
119-
120-
- name: Setup global resolver
121-
run: |
122-
chmod +x ./scripts/setup_global_resolver.sh
123-
./scripts/setup_global_resolver.sh
104+
- name: Run akka/github-actions-scripts
105+
uses: akka/github-actions-scripts/setup_global_resolver@main
124106

125107
- name: Checkout
126108
# https://github.com/actions/checkout/releases
@@ -219,17 +201,8 @@ jobs:
219201
- akka-remote/test akka-remote-tests/test
220202
- akka-cluster/test akka-cluster-typed/test
221203
steps:
222-
- name: Checkout Global Scripts
223-
uses: actions/checkout@v6
224-
with:
225-
repository: akka/github-actions-scripts
226-
path: scripts
227-
fetch-depth: 0
228-
229-
- name: Setup global resolver
230-
run: |
231-
chmod +x ./scripts/setup_global_resolver.sh
232-
./scripts/setup_global_resolver.sh
204+
- name: Run akka/github-actions-scripts
205+
uses: akka/github-actions-scripts/setup_global_resolver@main
233206

234207
- name: Checkout
235208
# https://github.com/actions/checkout/releases

.github/workflows/publish-docs.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,8 @@ jobs:
3636
github.event.repository.fork == false &&
3737
needs.changes.outputs.release_prep_only != 'true'
3838
steps:
39-
- name: Checkout Global Scripts
40-
uses: actions/checkout@v6
41-
with:
42-
repository: akka/github-actions-scripts
43-
path: scripts
44-
fetch-depth: 0
45-
46-
- name: Setup global resolver
47-
run: |
48-
chmod +x ./scripts/setup_global_resolver.sh
49-
./scripts/setup_global_resolver.sh
39+
- name: Run akka/github-actions-scripts
40+
uses: akka/github-actions-scripts/setup_global_resolver@main
5041

5142
- name: Checkout
5243
# https://github.com/actions/checkout/releases

.github/workflows/publish.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,8 @@ jobs:
3636
github.event.repository.fork == false &&
3737
needs.changes.outputs.release_prep_only != 'true'
3838
steps:
39-
- name: Checkout Global Scripts
40-
uses: actions/checkout@v6
41-
with:
42-
repository: akka/github-actions-scripts
43-
path: scripts
44-
fetch-depth: 0
45-
46-
- name: Setup global resolver
47-
run: |
48-
chmod +x ./scripts/setup_global_resolver.sh
49-
./scripts/setup_global_resolver.sh
39+
- name: Run akka/github-actions-scripts
40+
uses: akka/github-actions-scripts/setup_global_resolver@main
5041

5142
- name: Checkout
5243
# https://github.com/actions/checkout/releases

0 commit comments

Comments
 (0)