Skip to content

мерж для добавления загрузки карт #47

мерж для добавления загрузки карт

мерж для добавления загрузки карт #47

Workflow file for this run

name: Create New Release
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Use Xcode 16.4
run: |
sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
- name: Compile BlackMagic
run: |
agvtool new-version -all $(git rev-parse HEAD)
make
mkdir upload
mv packages/* upload/
- name: Get Version
id: get_version
run: |
VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" Payload/*.app/Info.plist)
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: BlackMagic v${{ env.VERSION }}
tag_name: v${{ env.VERSION }}
files: |
upload/*ipa
generate_release_notes: true
fail_on_unmatched_files: true
draft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to dev channel
run: |
curl -X POST "https://api.telegram.org/bot7573845312:AAGR9TaCcryqEkZBAgzhQ4ngX2mO2ab2LU4/sendDocument" \
-F chat_id=-4845306027 \
-F document=@"upload/BlackMagic.ipa"