diff --git a/.github/workflows/publish-release-all.yml b/.github/workflows/publish-release-all.yml new file mode 100644 index 0000000..9810443 --- /dev/null +++ b/.github/workflows/publish-release-all.yml @@ -0,0 +1,19 @@ +name: Publish All Libraries Release + +# Manually triggered release of every library at once. +# Each library runs as its own parallel job via the shared release workflow, +# and a failure in one does not cancel the others. +on: + workflow_dispatch: + +jobs: + publish-release: + name: Publish ${{ matrix.project }} + strategy: + fail-fast: false + matrix: + project: [ compose, compose-semantics, compose-test, compose-ui ] + uses: ./.github/workflows/publish-release-workflow.yaml + with: + project: ${{ matrix.project }} + secrets: inherit diff --git a/.github/workflows/publish-release-workflow.yaml b/.github/workflows/publish-release-workflow.yaml index c2657a9..e0cacdc 100644 --- a/.github/workflows/publish-release-workflow.yaml +++ b/.github/workflows/publish-release-workflow.yaml @@ -12,12 +12,13 @@ jobs: name: Deploy ${{ inputs.project }} to OSSHR runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: "temurin" java-version: 17 - - uses: little-core-labs/get-git-tag@v3.0.2 + cache: gradle - name: Deploy Release to OSSRH run: ./gradlew :$PROJECT:publishDefaultPublicationToOSSHRRepository -PreleaseMode=RELEASE env: diff --git a/.idea/compiler.xml b/.idea/compiler.xml index b9d251b..61a9130 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,10 +1,6 @@ - - - - - + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 1e5d69e..8a0cb41 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -17,7 +17,7 @@