Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kishansairam9 committed Feb 7, 2024
1 parent 1609699 commit 483b25b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/extract-args.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ jobs:
MAJOR_JAVA_VERSION=$(echo $BASE_JAVA_VERSION | cut -d'.' -f1)
echo "tags=${{ inputs.image }}:$MAJOR_JAVA_VERSION,${{ inputs.image }}:$BASE_JAVA_VERSION,${{ inputs.image }}:$TOTAL_JAVA_VERSION" >> $GITHUB_OUTPUT
# multi line output of content in input file
# https://github.com/orgs/community/discussions/26288#discussioncomment-3876281
delimiter="$(openssl rand -hex 8)"
echo "args<<${delimiter}" >> "${GITHUB_OUTPUT}"
cat ${{ inputs.file }} >> "${GITHUB_OUTPUT}"
echo "${delimiter}" >> "${GITHUB_OUTPUT}"
{
echo "args<<EOF"
cat ${{ inputs.file }}
echo "EOF"
} >> $GITHUB_OUTPUT
1 change: 1 addition & 0 deletions java-11/args.env
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
TEST_REMOVE=1
JAVA_VERSION=11.0.21-11.68.17

0 comments on commit 483b25b

Please sign in to comment.