File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed
integration-tests/src/test/resources/__snapshots__
CodestartKotlinTest/testContent
CodestartTest/testContent
runtime/src/main/codestarts/quarkus/quarkiverse-github-action-codestart/base Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,17 @@ runs:
3333 </settings>
3434 EOF
3535 fi
36+ - name : Checkout repo
37+ uses : actions/checkout@v4
38+ - name : Get project version
39+ shell : bash
40+ run : |
41+ echo "ACTION_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.5.0:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
3642 - name : Set up JBang
3743 uses : jbangdev/setup-jbang@main
3844 - name : Run the action
3945 id : action
40- run : jbang --java 17 --fresh --repos 'quarkus-github-action=https://maven.pkg.github.com/your-org/your-repository/' --repos 'mavencentral ' org.test:test-codestart:1.0.0-codestart
46+ run : jbang --java 17 --fresh --repos 'quarkus-github-action=https://maven.pkg.github.com/your-org/your-repository/' --repos 'central ' org.test:test-codestart:${{ env.ACTION_VERSION }}
4147 shell : bash
4248 env :
4349 JSON_INPUTS : ${{ toJSON(inputs) }}
Original file line number Diff line number Diff line change @@ -33,11 +33,17 @@ runs:
3333 </settings>
3434 EOF
3535 fi
36+ - name : Checkout repo
37+ uses : actions/checkout@v4
38+ - name : Get project version
39+ shell : bash
40+ run : |
41+ echo "ACTION_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.5.0:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
3642 - name : Set up JBang
3743 uses : jbangdev/setup-jbang@main
3844 - name : Run the action
3945 id : action
40- run : jbang --java 17 --fresh --repos 'quarkus-github-action=https://maven.pkg.github.com/your-org/your-repository/' --repos 'mavencentral ' org.test:test-codestart:1.0.0-codestart
46+ run : jbang --java 17 --fresh --repos 'quarkus-github-action=https://maven.pkg.github.com/your-org/your-repository/' --repos 'central ' org.test:test-codestart:${{ env.ACTION_VERSION }}
4147 shell : bash
4248 env :
4349 JSON_INPUTS : ${{ toJSON(inputs) }}
Original file line number Diff line number Diff line change @@ -33,11 +33,17 @@ runs:
3333 </settings>
3434 EOF
3535 fi
36+ - name : Checkout repo
37+ uses : actions/checkout@v4
38+ - name : Get project version
39+ shell : bash
40+ run : |
41+ echo "ACTION_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.5.0:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
3642 - name : Set up JBang
3743 uses : jbangdev/setup-jbang@main
3844 - name : Run the action
3945 id : action
40- run : jbang --java {java.version} --fresh --repos 'quarkus-github-action=https://maven.pkg.github.com/{github-repository}/' --repos 'mavencentral ' {project.group-id}:{project.artifact-id}:{project.version }
46+ run : jbang --java {java.version} --fresh --repos 'quarkus-github-action=https://maven.pkg.github.com/{github-repository}/' --repos 'central ' {project.group-id}:{project.artifact-id}:${{ env.ACTION_VERSION } }
4147 shell : bash
4248 env :
4349 JSON_INPUTS : ${{ toJSON(inputs) }}
You can’t perform that action at this time.
0 commit comments