Skip to content

Commit

Permalink
test build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cranci1 authored Feb 13, 2024
1 parent bf3c5f9 commit f24fbf5
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,13 @@ jobs:
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 }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./AnimeGen.ipa
asset_name: AnimeGen.ipa
asset_content_type: application/octet-stream
node-version: '14'

- name: Install automatic-releases
run: npm install -g automatic-releases

- name: Create Release
run: automatic-releases --token ${{ secrets.GITHUB_TOKEN }} --files './AnimeGen.ipa' --tag ${{ github.ref }} --title "Release ${{ github.ref }}" --prerelease false

0 comments on commit f24fbf5

Please sign in to comment.