Skip to content

Commit

Permalink
test realse
Browse files Browse the repository at this point in the history
  • Loading branch information
cranci1 authored Feb 13, 2024
1 parent dbe7813 commit bf3c5f9
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build IPA
name: Build IPA and Release

on:
push:
Expand All @@ -21,3 +21,40 @@ jobs:

- name: Run ipabuild.sh
run: ./ipabuild.sh

- name: Archive IPA
uses: actions/upload-artifact@v2
with:
name: ipa-artifact
path: build/AnimeGen.ipa

release:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download IPA Artifact
uses: actions/download-artifact@v2
with:
name: ipa-artifact

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Upload IPA to Release
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./AnimeGen.ipa
asset_name: AnimeGen.ipa
asset_content_type: application/octet-stream

0 comments on commit bf3c5f9

Please sign in to comment.