Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cranci1 committed Mar 30, 2024
1 parent 0e2c448 commit 408f8e1
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 30 deletions.
Binary file modified .DS_Store
Binary file not shown.
57 changes: 27 additions & 30 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,34 @@
name: Build IPA
name: Nightly Build

on:
push:
branches:
- main

- "push"
- "workflow_dispatch"
jobs:
build:
runs-on: macos-latest


runs-on: macos-13

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Xcode
run: sudo xcode-select --switch /Applications/Xcode_13.2.1.app/Contents/Developer

- name: Make ipabuild.sh executable
run: chmod +x ipabuild.sh

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

- name: Find AnimeGen IPA file
id: find_ipa
run: |
IPA_PATH=$(find . -name "AnimeGen.ipa" -print -quit)
echo "Found AnimeGen IPA file at $IPA_PATH"
echo "::set-output name=ipa_path::$IPA_PATH"
- name: Upload AnimeGen IPA artifact
if: steps.find_ipa.outputs.ipa_path != ''
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: Fetch Commit Info
id: commitinfo
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Build iOS
run: xcodebuild -workspace "AnimeGen.xcworkspace" -scheme AnimeGen -configuration Release -destination generic/platform=iOS archive -archivePath "build/AnimeGen_Nightly.iOS.xcarchive" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
- name: Package iOS
run: ./Misc/scripts/package.sh "build/AnimeGen_Nightly.iOS.xcarchive" iOS "AnimeGen_Nightly.${{ steps.commitinfo.outputs.sha_short }}.iOS"
- name: Upload iOS Symbols
run: ./Misc/scripts/upload_symbols.sh ${{ secrets.APPCENTER_TOKEN }}
- name: Upload iOS Artifacts
uses: actions/upload-artifact@v2
with:
name: AnimeGen-ipa-artifact
path: ${{ steps.find_ipa.outputs.ipa_path }}
name: AnimeGen_Nightly.${{ steps.commitinfo.outputs.sha_short }}.iOS
path: build/*
if-no-files-found: error
Binary file not shown.
Binary file added Images/banner.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<img src="Images/banner.jpeg">

# AnimeGen

AnimeGen is an app made in Swift. This app is developed using public APIs. The app purpose is to save, generate, and share images.
Expand Down

0 comments on commit 408f8e1

Please sign in to comment.