Skip to content

Commit

Permalink
feat(ci): update release workflow to use custom action
Browse files Browse the repository at this point in the history
The release workflow has been updated to use a custom action for the release process. This change was made to improve the release process and ensure consistency across different repositories.
  • Loading branch information
liblaf committed Jan 26, 2024
1 parent 6ec018f commit 56a0f39
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ jobs:
- "3.11"
- "3.12"

upload:
name: Upload Release Assets
release:
name: Release
permissions:
contents: write
needs:
Expand All @@ -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

0 comments on commit 56a0f39

Please sign in to comment.