v236b60660 #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Patch Enmity | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- "Enmity/**/*" | |
jobs: | |
build: | |
name: Patch Enmity | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install coreutils | |
id: coreutils | |
run: brew install coreutils | |
- name: Run Main Shell Script | |
run: ./Enmity/patch.sh | |
id: build | |
- name: Get app version | |
run: echo "VERSION=$(ls ./Enmity/IPA)" >> $GITHUB_OUTPUT | |
id: version | |
- name: Create release | |
uses: marvinpinto/action-automatic-releases@latest | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
automatic_release_tag: ${{ steps.version.outputs.VERSION }} | |
title: ${{ steps.version.outputs.VERSION }} | |
files: ./Enmity/Dist/*.ipa |