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..0242e2a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,9 @@ name: Release on: - workflow_dispatch: - workflow_call: + push: + tags: + - "*.*.*" jobs: build: