aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-10-14 21:26:57 +0800
committerKunoiSayami <[email protected]>2022-10-14 21:51:39 +0800
commit4c58b52777aa8e1c9a8d8d20a4350be039bcdf90 (patch)
tree5e7ba412dfa24809c32c84186e4f4bbf388c13b3 /.github/workflows/build.yml
parent7a60d214978b7318c3e32af4793e613fd471183b (diff)
fix(ci): Fix deprecate command set-outputv4.0.0-rc
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml6
1 files changed, 3 insertions, 3 deletions
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