From 002e80d55d94011d999f16e5d18462549a1bd2c6 Mon Sep 17 00:00:00 2001 From: Vladimir Bauer Date: Sat, 12 Nov 2022 21:41:37 +0500 Subject: [PATCH] github env instead of set-output --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7052fc2..82b860d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,17 +69,17 @@ jobs: tar -C "$ARCHIVE_DIR" -czf "$PKG_STAGING/$PKG_NAME" . # Let subsequent steps know where to find the compressed package - echo ::set-output name=PKG_NAME::"$PKG_NAME" - echo ::set-output name=PKG_PATH::"$PKG_STAGING/$PKG_NAME" + echo "PKG_NAME=$PKG_NAME" >> $GITHUB_ENV + echo "PKG_PATH=$PKG_STAGING/$PKG_NAME" >> $GITHUB_ENV - uses: actions/upload-artifact@v3 with: - name: ${{ steps.package.outputs.PKG_NAME }} - path: ${{ steps.package.outputs.PKG_PATH }} + name: ${{ env.PKG_NAME }} + path: ${{ env.PKG_PATH }} - uses: softprops/action-gh-release@v1 with: files: | - ${{ steps.package.outputs.PKG_PATH }} + ${{ env.PKG_PATH }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}