Skip to content

Commit

Permalink
[test] checks whether changing the order actually helps (as implied b…
Browse files Browse the repository at this point in the history
…y the error message)

Error message: "Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/flink/flink/.github/actions/set_java_in_container'. Did you forget to run actions/checkout before running your local action?"
  • Loading branch information
XComp committed Nov 10, 2023
1 parent a020dbf commit f41f455
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/flink-ci-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,16 @@ jobs:
options: --init

steps:
- name: "Flink Checkout"
uses: actions/checkout@v3
with:
persist-credentials: false

- name: "Set JDK version to Java ${{ inputs.jdk-version }}"
uses: "./.github/actions/set_java_in_container"
with:
jdk-version: ${{ inputs.jdk-version }}

- name: "Flink Checkout"
uses: actions/checkout@v3
with:
persist-credentials: false
- name: "Codestyle"
run: |
${{ inputs.environment }} ./tools/ci/validate.sh "checkstyle:check spotless:check -T2" || exit $?
Expand Down

0 comments on commit f41f455

Please sign in to comment.