From 0e67271a2dd46f9ec1cd911564367d7eb160682b Mon Sep 17 00:00:00 2001 From: Alexander Romanov Date: Sun, 1 Oct 2023 16:45:59 +0300 Subject: [PATCH] Fix CI --- .github/workflows/ci-release.yml | 6 ------ .github/workflows/publish-docc.yml | 2 +- .github/workflows/release.yml | 7 ++++--- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index ae9cb16..5176617 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -30,10 +30,4 @@ jobs: needs: bump uses: ./.github/workflows/publish-docc.yml secrets: inherit - - release: - name: Release - needs: bump - uses: ./.github/workflows/release.yml - secrets: inherit diff --git a/.github/workflows/publish-docc.yml b/.github/workflows/publish-docc.yml index 1e18fda..908f313 100644 --- a/.github/workflows/publish-docc.yml +++ b/.github/workflows/publish-docc.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v3 - name: Build DocC run: | - xcodebuild docbuild -scheme OversizeUI \ + xcodebuild docbuild -scheme -skipPackagePluginValidation OversizeUI \ -derivedDataPath /tmp/docbuild \ -destination 'generic/platform=iOS'; $(xcrun --find docc) process-archive \ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c2358a..db32b5f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,9 @@ name: Release -on: - workflow_dispatch: - workflow_call: + on: + push: + tags: + - "*.*.*" jobs: build: