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:
parent
28f93f38e4
commit
b02c7fea21
7
.github/workflows/githubtest.yml
vendored
7
.github/workflows/githubtest.yml
vendored
@ -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 }}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user