This commit is contained in:
samosvalishe
2026-08-18 15:59:07 +03:00
parent 022692ea18
commit c3fc9396d4
2 changed files with 11 additions and 2 deletions
+5 -1
View File
@@ -96,11 +96,15 @@ jobs:
go-version: ${{ env.GO_VERSION }}
cache: true
# checksum.extra_files глобит mobile-dist, а снапшот идёт без mobile-джоб
- name: Stub mobile artifacts
run: mkdir -p mobile-dist && touch mobile-dist/freeturn.aar mobile-dist/freeturn-sources.jar mobile-dist/Mobile.xcframework.zip
- uses: goreleaser/goreleaser-action@v7.2.2
with:
distribution: goreleaser
version: ${{ env.GORELEASER_VERSION }}
args: release --snapshot --clean --skip=publish,sign,docker,announce,sbom,checksum
args: release --snapshot --clean --skip=publish,sign,docker,announce,sbom
- uses: actions/upload-artifact@v7.0.1
with:
+6 -1
View File
@@ -25,7 +25,12 @@ tasks:
build:all:
desc: Cross-compile all targets via goreleaser snapshot
cmds:
- goreleaser release --snapshot --clean --skip=publish,sign,checksum
# checksum.extra_files глобит mobile-dist, а снапшот идёт без mobile-таргетов
- cmd: mkdir -p mobile-dist && touch mobile-dist/freeturn.aar mobile-dist/freeturn-sources.jar mobile-dist/Mobile.xcframework.zip
platforms: [linux, darwin]
- cmd: powershell -Command "New-Item -ItemType Directory -Force mobile-dist > $null; @('freeturn.aar','freeturn-sources.jar','Mobile.xcframework.zip') | ForEach-Object { if (-not (Test-Path \"mobile-dist/$_\")) { New-Item -ItemType File \"mobile-dist/$_\" > $null } }"
platforms: [windows]
- goreleaser release --snapshot --clean --skip=publish,sign
build:ios:
desc: Build iOS XCFramework to dist/Mobile.xcframework