diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ff7b4acb..81536afe 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -108,8 +108,8 @@ jobs: - "3.11" - "3.12" - upload: - name: Upload Release Assets + release: + name: Release permissions: contents: write needs: @@ -121,14 +121,11 @@ jobs: - name: Download Artifacts uses: actions/download-artifact@v4 with: - path: artifacts merge-multiple: true - - name: Delete Existing Release - run: gh release --repo="${{ github.repository }}" delete dev --cleanup-tag - env: - GH_TOKEN: ${{ github.token }} - continue-on-error: true - name: Create GitHub Release - run: gh release --repo="${{ github.repository }}" create dev artifacts/* --generate-notes --prerelease - env: - GH_TOKEN: ${{ github.token }} + uses: liblaf/template/.github/actions/release@main + with: + tag: dev + files: | + * + prerelease: true