Skip to content

Commit

Permalink
test ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed Sep 16, 2024
1 parent 9d7da68 commit 3d45d4c
Showing 1 changed file with 24 additions and 20 deletions.
44 changes: 24 additions & 20 deletions .github/workflows/jetbrains-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
name: JetBrains Release

on:
push:
branches:
- nate/jetbrains-updates
release:
types: [prereleased]

Expand Down Expand Up @@ -171,27 +174,27 @@ jobs:
# options: --options runtime --entitlements entitlements.xml

# Build plugin
- name: Build plugin
run: ./gradlew buildPlugin
# - name: Build plugin
# run: ./gradlew buildPlugin

# Publish the plugin to JetBrains Marketplace
- name: Publish EAP Plugin
env:
PUBLISH_TOKEN: ${{ secrets.JETBRAINS_PUBLISH_TOKEN }}
CERTIFICATE_CHAIN: ${{ secrets.JETBRAINS_CERTIFICATE_CHAIN }}
PRIVATE_KEY: ${{ secrets.JETBRAINS_PRIVATE_KEY }}
PRIVATE_KEY_PASSWORD: ${{ secrets.JETBRAINS_PRIVATE_KEY_PASSWORD }}
RELEASE_CHANNEL: eap
run: ./gradlew publishPlugin

- name: Publish Stable Plugin
env:
PUBLISH_TOKEN: ${{ secrets.JETBRAINS_PUBLISH_TOKEN }}
CERTIFICATE_CHAIN: ${{ secrets.JETBRAINS_CERTIFICATE_CHAIN }}
PRIVATE_KEY: ${{ secrets.JETBRAINS_PRIVATE_KEY }}
PRIVATE_KEY_PASSWORD: ${{ secrets.JETBRAINS_PRIVATE_KEY_PASSWORD }}
RELEASE_CHANNEL: default
run: ./gradlew publishPlugin
# # Publish the plugin to JetBrains Marketplace
# - name: Publish EAP Plugin
# env:
# PUBLISH_TOKEN: ${{ secrets.JETBRAINS_PUBLISH_TOKEN }}
# CERTIFICATE_CHAIN: ${{ secrets.JETBRAINS_CERTIFICATE_CHAIN }}
# PRIVATE_KEY: ${{ secrets.JETBRAINS_PRIVATE_KEY }}
# PRIVATE_KEY_PASSWORD: ${{ secrets.JETBRAINS_PRIVATE_KEY_PASSWORD }}
# RELEASE_CHANNEL: eap
# run: ./gradlew publishPlugin

# - name: Publish Stable Plugin
# env:
# PUBLISH_TOKEN: ${{ secrets.JETBRAINS_PUBLISH_TOKEN }}
# CERTIFICATE_CHAIN: ${{ secrets.JETBRAINS_CERTIFICATE_CHAIN }}
# PRIVATE_KEY: ${{ secrets.JETBRAINS_PRIVATE_KEY }}
# PRIVATE_KEY_PASSWORD: ${{ secrets.JETBRAINS_PRIVATE_KEY_PASSWORD }}
# RELEASE_CHANNEL: default
# run: ./gradlew publishPlugin

# Prepare plugin archive content for creating artifact
- name: Prepare Plugin Artifact
Expand All @@ -203,6 +206,7 @@ jobs:
ls
echo "---"
FILENAME=`ls continue-intellij-extension-*.zip`
echo "Filename=${FILENAME}"
unzip "$FILENAME" -d content
echo "filename=${FILENAME%.????}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 3d45d4c

Please sign in to comment.