diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ce0f6f..f0dd6d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -99,7 +99,7 @@ jobs: CGO_ENABLED: 0 steps: - name: Checkout codebase - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Show workflow information id: get_filename run: | @@ -107,11 +107,10 @@ jobs: echo "GOOS: $GOOS, GOARCH: $GOARCH, GOARM: $GOARM, GOMIPS: $GOMIPS, RELEASE_NAME: $_NAME" echo "::set-output name=ASSET_NAME::$_NAME" echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV - - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: ^1.18 + go-version: 'stable' - name: Get project dependencies run: go mod download @@ -176,12 +175,12 @@ jobs: - name: Change the name run: | mv build_assets V2bX-$ASSET_NAME - # - name: Upload files to Artifacts - # uses: actions/upload-artifact@v2 - # with: - # name: V2bX-${{ steps.get_filename.outputs.ASSET_NAME }} - # path: | - # ./V2bX-${{ steps.get_filename.outputs.ASSET_NAME }}/* + - name: Upload files to Artifacts + uses: actions/upload-artifact@v3 + with: + name: V2bX-${{ steps.get_filename.outputs.ASSET_NAME }} + path: | + ./V2bX-${{ steps.get_filename.outputs.ASSET_NAME }}/* - name: Upload binaries to release uses: svenstaro/upload-release-action@v2 if: github.event_name == 'release'