Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
m1337v authored Feb 24, 2024
1 parent 969c058 commit 1a706b6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,29 @@ jobs:
name: Dopamine
path: |
${{ github.workspace }}/Application/Dopamine.ipa
update-release:
name: Opamine.tipa
runs-on: ubuntu-latest
needs: build

steps:
- name: Delete old release
uses: dev-drprasad/[email protected]
with:
delete_release: true
tag_name: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get artifacts
uses: actions/download-artifact@v3
with:
name: Opamine.tipa
- name: Create new release
uses: ncipollo/release-action@v1
with:
name: Opamine
body: These are automatically updated builds of the latest commit.
artifacts: "Opamine.tipa"
tag: release
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1a706b6

Please sign in to comment.