Skip to content

chore(example-app): rename directory #74

chore(example-app): rename directory

chore(example-app): rename directory #74

Workflow file for this run

name: "Release Plugin"

Check failure on line 1 in .github/workflows/release_plugin.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release_plugin.yml

Invalid workflow file

(Line: 58, Col: 5): Unexpected value 'publish-android', (Line: 59, Col: 5): 'needs' is already defined, (Line: 60, Col: 5): 'uses' is already defined, (Line: 61, Col: 5): 'secrets' is already defined
on:
push:
branches:
- development
- next
workflow_dispatch:
permissions:
contents: write
issues: write
deployments: write
id-token: write # to enable use of OIDC for npm provenance and trusted publishing
jobs:
setup:
uses: ./.github/workflows/reusable_setup.yml
secrets:
THE_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
lint:
needs: 'setup'
uses: ./.github/workflows/reusable_lint.yml
secrets:
THE_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
build-packages:
needs: 'setup'
uses: ./.github/workflows/reusable_build.yml
secrets:
THE_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
release:
needs: ['setup','lint','build-packages']
runs-on: 'ubuntu-24.04'
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- name: 'Setup Tools'
uses: ./.github/actions/setup-tools
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
GH_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
run: npx semantic-release
publish-pod:
needs: release
uses: ./.github/workflows/publish_pod.yml
secrets:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
publish-android:
needs: release
uses: ./.github/workflows/publish_maven_central.yml
secrets:
ANDROID_CENTRAL_USERNAME: ${{ secrets.ANDROID_CENTRAL_USERNAME }}
ANDROID_CENTRAL_PASSWORD: ${{ secrets.ANDROID_CENTRAL_PASSWORD }}
ANDROID_SIGNING_KEY_ID: ${{ secrets.ANDROID_SIGNING_KEY_ID }}
ANDROID_SIGNING_KEY: ${{ secrets.ANDROID_SIGNING_KEY }}
ANDROID_SIGNING_PASSWORD: ${{ secrets.ANDROID_SIGNING_PASSWORD }}
ANDROID_SONATYPE_STAGING_PROFILE_ID: ${{ secrets.ANDROID_SONATYPE_STAGING_PROFILE_ID }}
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}