mirror of
https://github.com/hackdiaz-dev/free-turn-proxy.git
synced 2026-10-12 09:41:53 +02:00
fix: ci
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user