-
-
Notifications
You must be signed in to change notification settings - Fork 340
46 lines (40 loc) · 1.09 KB
/
release.yml
File metadata and controls
46 lines (40 loc) · 1.09 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
name: Release
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Select Xcode
run: |
sudo xcode-select -s /Applications/Xcode_26.3.0.app
- name: Compile Feather
run: |
agvtool new-version -all $(git rev-parse HEAD)
make
mkdir upload
mv packages/* upload/
- name: Extract Version
id: get_version
run: |
VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" _build/Payload/*.app/Info.plist)
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: Feather v${{ env.VERSION }}
tag_name: v${{ env.VERSION }}
files: |
upload/*
generate_release_notes: true
fail_on_unmatched_files: true
draft: true
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}