Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Use GITHUB_OUTPUT envvar instead of set-output command #25

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-master-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fi
echo $matrix
echo $matrix| jq .
echo "::set-output name=matrix::$matrix"
echo "matrix=$matrix" >> "$GITHUB_OUTPUT"
shell: bash

master-build-packages:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call-build-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
fi
fi
echo "$TARGET"
echo ::set-output name=target::$TARGET
echo "target=$TARGET" >> "$GITHUB_OUTPUT"
env:
DISTRO: ${{ matrix.distro }}
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call-test-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
run: |
docker pull --platform=${{ matrix.arch }} "$REGISTRY/$IMAGE_NAME:$IMAGE_TAG"
ACTUAL_ARCH=$(docker image inspect --format '{{.Architecture}}' "$REGISTRY/$IMAGE_NAME:$IMAGE_TAG")
echo ::set-output name=ACTUAL_ARCH::$ACTUAL_ARCH
echo "ACTUAL_ARCH=$ACTUAL_ARCH" >> "$GITHUB_OUTPUT"
docker image inspect "$REGISTRY/$IMAGE_NAME:$IMAGE_TAG"
shell: bash
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call-test-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: |
curl --fail -LO "$AWS_URL/latest-version.txt"
VERSION=$(cat latest-version.txt)
echo ::set-output name=VERSION::$VERSION
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"
shell: bash

- name: Run package installation tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cron-unstable-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# For cron builds, i.e. nightly, we provide date and time as extra parameter to distinguish them.
- name: Get current date
id: date
run: echo "::set-output name=date::$(date '+%Y-%m-%d-%H_%M_%S')"
run: echo "date=$(date '+%Y-%m-%d-%H_%M_%S')" >> "$GITHUB_OUTPUT"

- name: Debug event output
uses: hmarr/debug-action@v2
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
echo "Unable to determine branch to use"
exit 1
fi
echo "::set-output name=branch::$cron_branch"
echo "branch=$cron_branch" >> "$GITHUB_OUTPUT"
shell: bash

unstable-build-images:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
echo "Defaulting to master"
VERSION=master
fi
echo ::set-output name=VERSION::$VERSION
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"
shell: bash
env:
# Use the dispatch variable in preference, if empty use the context ref_name which should
Expand Down
Loading