added environment variable output

This commit is contained in:
Tobias Lehmann 2024-06-04 08:40:19 +02:00
parent bdc9032167
commit b972e44b5e

View File

@ -24,6 +24,17 @@ jobs:
- name: Setup environment variables from "build/env-setup.sh" - name: Setup environment variables from "build/env-setup.sh"
run: | run: |
source build/env-setup.sh source build/env-setup.sh
- name: Show environment variables
run: |
echo "The job_id is: $GITHUB_JOB" # reference the default environment variables
echo "The id of this action is: $GITHUB_ACTION" # reference the default environment variables
echo "The run id is: $GITHUB_RUN_ID"
echo "The GitHub Actor's username is: $GITHUB_ACTOR"
echo "GitHub SHA: $GITHUB_SHA"
echo "APPLICATION_FILE_BINARY: $APPLICATION_FILE_BINARY"
echo "APPLICATION_NAME: $APPLICATION_NAME"
echo "APPLICATION_PORT: $APPLICATION_PORT"
echo "APPLICATION_JAVA_VERSION: $APPLICATION_JAVA_VERSION"
- name: Build and push docker image - name: Build and push docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with: