forked from stadiamaps/ferrostar
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 1015 Bytes
/
Copy pathios-release.yml
File metadata and controls
41 lines (32 loc) · 1015 Bytes
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
name: iOS Release
on:
release:
types: [created]
jobs:
ios-release:
runs-on: macos-15
permissions:
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v6
with:
fetch-depth: 0 # Ensure that we can operate on the full history
ref: main
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.0'
- name: Build iOS XCFramework
run: ./build-ios.sh --release
working-directory: common
- uses: stefanzweifel/git-auto-commit-action@v5
- name: Move Tag
run: |
git tag -fa ${{ github.event.release.tag_name }} -m "Swift Package checksum for Release ${{ github.event.release.tag_name }}"
git push origin ${{ github.event.release.tag_name }} --force
- name: Release
uses: softprops/action-gh-release@v2.5.0
with:
files: common/target/ios/libferrostar-rs.xcframework.zip
draft: false
tag_name: ${{ github.event.release.tag_name }}