-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a25a06
commit 0d2c108
Showing
1 changed file
with
12 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
name: 'Show Variables' | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
|
||
jobs: | ||
display-variables: | ||
name: Show GitHub Variables | ||
steps: | ||
- name: Try to show GitHub Variables | ||
run: | | ||
echo "repository variable : ${{ vars.REPOSITORY_VAR }}" | ||
echo "organization variable : ${{ vars.ORGANIZATION_VAR }}" | ||
echo "overridden variable : ${{ vars.OVERRIDE_VAR }}" | ||
echo "variable from shell environment : $env_var" | ||
echo "IMAGE_TAG : $vars.ENV_CONTEXT_VAR" | ||
echo "IMAGE_TAG : $IMAGE_TAG" | ||
echo "QUAY_URL : $QUAY_URL" | ||
sonarqube: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: ${{ vars.JAVA_VERSION }} | ||
distribution: 'temurin' | ||
- name: Build and analyze | ||
run: mvn clean verify sonar:sonar -Dsonar.login=${{ secrets.SONAR_TOKEN }} | ||
|