diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9adfff5c7..bdb95dfbd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,14 +30,11 @@ jobs: steps: - name: Create Release id: create_release - uses: actions/create-release@v1.1.4 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: marvinpinto/action-automatic-releases@latest" with: + repo_token: ${{ secrets.GITHUB_TOKEN }} tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} - draft: false - prerelease: false - name: Output Release URL File run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt - name: Save Release URL File for publish @@ -65,6 +62,7 @@ jobs: - name: Load Release URL File from release job uses: actions/download-artifact@v3 with: + path: release_url name: release_url - name: Build run: CARGO_BAZEL_ISOLATED=0 CARGO_BAZEL_REPIN=true bazel build --strip=always //clash/...