diff --git a/.github/workflows/build-master-packages.yaml b/.github/workflows/build-master-packages.yaml index a7f539a19..6fa416fae 100644 --- a/.github/workflows/build-master-packages.yaml +++ b/.github/workflows/build-master-packages.yaml @@ -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: diff --git a/.github/workflows/call-build-packages.yaml b/.github/workflows/call-build-packages.yaml index a526d970c..f44c4d13f 100644 --- a/.github/workflows/call-build-packages.yaml +++ b/.github/workflows/call-build-packages.yaml @@ -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 diff --git a/.github/workflows/call-test-images.yaml b/.github/workflows/call-test-images.yaml index 45ec572d2..01bb685b3 100644 --- a/.github/workflows/call-test-images.yaml +++ b/.github/workflows/call-test-images.yaml @@ -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: diff --git a/.github/workflows/call-test-packages.yaml b/.github/workflows/call-test-packages.yaml index efd7f9eb5..3aed82bab 100644 --- a/.github/workflows/call-test-packages.yaml +++ b/.github/workflows/call-test-packages.yaml @@ -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 diff --git a/.github/workflows/cron-unstable-build.yaml b/.github/workflows/cron-unstable-build.yaml index a9daf5233..9b043d087 100644 --- a/.github/workflows/cron-unstable-build.yaml +++ b/.github/workflows/cron-unstable-build.yaml @@ -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 @@ -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: diff --git a/.github/workflows/staging-build.yaml b/.github/workflows/staging-build.yaml index 555fe81dc..3ed986312 100644 --- a/.github/workflows/staging-build.yaml +++ b/.github/workflows/staging-build.yaml @@ -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