Fixes #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Experimental Release | |
on: | |
push: | |
tags: [ "*-experimental" ] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: gradle | |
# See note about QEMU and binfmt requirement here https://github.com/vercel/pkg#targets | |
- name: Set up QEMU | |
id: qemu | |
uses: docker/setup-qemu-action@v3 | |
with: | |
image: tonistiigi/binfmt:latest | |
platforms: all | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v3 | |
- run: yarn global add [email protected] | |
- run: | | |
echo "RELEASE_VERSION=$(./scripts/version-from-git-tag.sh)" >> $GITHUB_ENV | |
- run: echo "Publishing version $RELEASE_VERSION" | |
- name: Publish experimental version | |
run: | | |
echo "Publishing experimental version ${RELEASE_VERSION}-experimental" | |
./gradlew "-PpluginVersion=${RELEASE_VERSION}-experimental" publishPlugin | |
env: | |
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} |