1
0
mirror of https://github.com/bplein/factorio-docker.git synced 2025-02-19 19:10:26 +02:00

Update githubtest.yml

This commit is contained in:
Bill Plein 2023-03-15 13:22:50 -05:00 committed by GitHub
parent 28f93f38e4
commit b02c7fea21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,15 +53,14 @@ jobs:
- name: Extract all versions from buildinfo.json
id: get-version
run: |
VERSION=$(cat buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]')}
VERSION=$(cat buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]')
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "action_state=yellow" >> $GITHUB_ENV
# echo "{TAGS}={$(cat buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]')}" >> $GITHUB_ENV
echo "TAGS=$(cat buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]')" >> $GITHUB_ENV
# echo "$GITHUB_ENV"
# echo "${{ env.VERSION }}"
- name: Show versions and tags
run: |
echo "${{ env.VERSION }}" # This will output VERSION
echo "${{ env.action_state }}" # This will output 'yellow'
#echo "Tags: ${{ env.TAGS }}"
echo "Tags: ${{ env.TAGS }}"