-
Notifications
You must be signed in to change notification settings - Fork 328
37 lines (37 loc) · 1.24 KB
/
nightly-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Nightly Release
on:
push:
tags: [ "jb-*-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
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # SECURITY: pin third-party action hashes
- run: |
echo "RELEASE_VERSION=$(./jetbrains/scripts/version-from-git-tag.sh)-nightly" >> $GITHUB_ENV
- name: Publish nightly version
run: |
echo "Publishing nightly version ${RELEASE_VERSION}"
pushd jetbrains
./gradlew "-PpluginVersion=${RELEASE_VERSION}" publishPlugin
popd > /dev/null
env:
PUBLISH_TOKEN: ${{ secrets.JETBRAINS_MARKETPLACE_PUBLISH_TOKEN }}