forked from acquitelol/rosiecord
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 832 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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