Skip to content

Commit b26fb7c

Browse files
committed
move post-build-setup after download-artifact call
1 parent 0920e09 commit b26fb7c

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.github/workflows/post-build-raw.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
continue-on-error: false
2222
timeout-minutes: ${{ inputs.timeout-minutes }}
2323
steps:
24-
- uses: ./.github/actions/post-build-setup
25-
with:
26-
java-version: ${{ inputs.java-version }}
27-
os: ${{ inputs.os }}
28-
2924
- uses: actions/download-artifact@v4
3025
with:
3126
path: .
3227
name: ${{ inputs.os }}-artifact
3328

29+
- uses: ./.github/actions/post-build-setup
30+
with:
31+
java-version: ${{ inputs.java-version }}
32+
os: ${{ inputs.os }}
33+
3434
- run: ${{ inputs.buildcmd }}

.github/workflows/post-build-selective.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,15 @@ jobs:
2525
timeout-minutes: ${{ inputs.timeout-minutes }}
2626
steps:
2727

28-
- uses: ./.github/actions/post-build-setup
29-
with:
30-
java-version: ${{ inputs.java-version }}
31-
os: ${{ inputs.os }}
32-
3328
- uses: actions/download-artifact@v4
3429
with:
3530
path: .
3631
name: ${{ inputs.os }}-artifact
3732

38-
- run: chmod -R 777 . # normalize permissions before and after upload/download-artifact
33+
- uses: ./.github/actions/post-build-setup
34+
with:
35+
java-version: ${{ inputs.java-version }}
36+
os: ${{ inputs.os }}
3937

4038
- uses: actions/download-artifact@v4
4139
with:

0 commit comments

Comments
 (0)