Skip to content

Use different display name for anthropic/claude-2 #54

Use different display name for anthropic/claude-2

Use different display name for anthropic/claude-2 #54

Workflow file for this run

name: Release to Marketplace
on:
push:
tags: [ "*" ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 11
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@v1
with:
image: tonistiigi/binfmt:latest
platforms: all
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1.1.0
- run: ./scripts/install-ldid.sh
- run: yarn global add pnpm@8.6.7
- run: |
echo "RELEASE_VERSION=$(./scripts/version-from-git-tag.sh)" >> $GITHUB_ENV
- run: echo "Publishing version $RELEASE_VERSION"
- run: ./gradlew "-PldidSign=true" "-PpluginVersion=$RELEASE_VERSION" publishPlugin
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
- name: Publish nightly version
if: "!endsWith(env.RELEASE_VERSION, '-nightly')"
run: |
echo "Publishing nightly version ${RELEASE_VERSION}-nightly"
./gradlew "-PldidSign=true" "-PpluginVersion=${RELEASE_VERSION}-nightly" publishPlugin
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}