Skip to content

Commit

Permalink
Attemp to publish alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisRev committed May 15, 2024
1 parent 88c722b commit 436be06
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Publish all libs, Arrow-stack and Docs"

on:
push:
branches: [ main ]
branches: [ publish-2.0.0-alpha.1 ]
workflow_dispatch:
branches: [ main ]
inputs:
Expand Down Expand Up @@ -40,17 +40,10 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/arrow-2' }}
cache-read-only: ${{ github.ref != 'refs/heads/main' }}

- name: Assemble
run: ./gradlew assemble -Pversion=${{ inputs.version }} -Penable_wasm=true

- name: Upload reports
if: failure()
uses: actions/upload-artifact@v4
with:
name: 'reports-${{ matrix.os }}'
path: '**/build/reports/**'
run: ./gradlew assemble -Pversion=2.0.0-alpha.1 -Penable_wasm=true

- name: Publish next major SNAPSHOT version
run: ./gradlew -Pversion=${{ inputs.version }} publish
- name: Publish artifacts
run: ./gradlew -Pversion=2.0.0-alpha.1 publishToMavenCentral

0 comments on commit 436be06

Please sign in to comment.