Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AshleyThew committed Nov 29, 2024
1 parent 7342345 commit 4baaf61
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ jobs:
filename: '20_low.zip'
exclusions: '*.git* README.md *.schema* *.zip *.py run/*'

- name: Delete
uses: ame-yu/action-delete-latest-release@v2
- uses: actions/github-script@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const { owner, repo } = context.repo
await github.repos.deleteRelease({ owner, repo, release_id: 'patreon' })
- name: Upload Patreon Release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 4baaf61

Please sign in to comment.