fix(ci): initialize temporary paths in a runner step
This commit is contained in:
parent
afb37687d9
commit
539d57c129
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -22,15 +22,17 @@ jobs:
|
|||||||
name: Build API and verify consumer
|
name: Build API and verify consumer
|
||||||
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
|
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
PUMPKIN_CI_REPOSITORY: ${{ runner.temp }}/pumpkin-maven
|
|
||||||
PUMPKIN_CI_CONSUMER: ${{ runner.temp }}/pumpkin-consumer
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
|
- name: Set temporary build paths
|
||||||
|
run: |
|
||||||
|
echo "PUMPKIN_CI_REPOSITORY=$RUNNER_TEMP/pumpkin-maven" >> "$GITHUB_ENV"
|
||||||
|
echo "PUMPKIN_CI_CONSUMER=$RUNNER_TEMP/pumpkin-consumer" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Set up Java/Kotlin
|
- name: Set up Java/Kotlin
|
||||||
uses: actions/setup-java@v6
|
uses: actions/setup-java@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user