From 4c58b52777aa8e1c9a8d8d20a4350be039bcdf90 Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Fri, 14 Oct 2022 21:26:57 +0800 Subject: fix(ci): Fix deprecate command set-output Signed-off-by: KunoiSayami --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef5e2be..7b80543 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: name: Build runs-on: ${{ matrix.job.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -40,7 +40,7 @@ jobs: BIN='cgit-simple-authentication_darwin_amd64' mv target/release/cgit-simple-authentication target/release/$BIN fi - echo "::set-output name=bin::target/release/$BIN" + echo "output_binary_name=target/release/$BIN" >> $GITHUB_ENV - uses: actions/upload-artifact@v2 with: name: artifact @@ -50,6 +50,6 @@ jobs: uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: ${{ steps.rename.outputs.bin }} + files: ${{ env.output_binary_name }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file -- cgit v1.3.1