Skip to content

Roll Cody to 876a2a3858ec3250371db50b356335d58ddab8d2 (#2592) #47

Roll Cody to 876a2a3858ec3250371db50b356335d58ddab8d2 (#2592)

Roll Cody to 876a2a3858ec3250371db50b356335d58ddab8d2 (#2592) #47

Workflow file for this run

name: Nightly Release
on:
push:
tags: [ "*-nightly" ]
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)-nightly" >> $GITHUB_ENV
- name: Publish nightly version
run: |
echo "Publishing nightly version ${RELEASE_VERSION}"
./gradlew "-PpluginVersion=${RELEASE_VERSION}" publishPlugin
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}