Skip to content

Commit 1821e1e

Browse files
committed
test
1 parent b675a70 commit 1821e1e

File tree

1 file changed

+80
-91
lines changed

1 file changed

+80
-91
lines changed

.github/workflows/jetbrains-release.yaml

+80-91
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ on:
1111
# release:
1212
# types: [prereleased]
1313

14-
defaults:
15-
run:
16-
working-directory: extensions/intellij
14+
# defaults:
15+
# run:
16+
# working-directory: extensions/intellij
1717

1818
concurrency:
1919
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -58,62 +58,47 @@ jobs:
5858
p12-file-base64: ${{ secrets.APPLE_CERT_DATA }}
5959
p12-password: ${{ secrets.APPLE_CERT_PASSWORD }}
6060

61-
# - name: Download artifact
62-
# env:
63-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64-
# OWNER: continuedev
65-
# REPO: continue
66-
# ARTIFACT_ID: 1822461754
67-
# run: |
68-
# curl -L \
69-
# -H "Authorization: token $GITHUB_TOKEN" \
70-
# -H "Accept: application/vnd.github+json" \
71-
# -o artifact.zip \
72-
# "https://api.github.com/repos/continuedev/continue/actions/artifacts/1822461754/zip"
73-
# unzip artifact.zip
74-
# shell: bash
75-
7661
# Validate wrapper
77-
- name: Gradle Wrapper Validation
78-
uses: gradle/actions/wrapper-validation@v3
62+
# - name: Gradle Wrapper Validation
63+
# uses: gradle/actions/wrapper-validation@v3
7964

80-
# Set up Java environment for the next steps
81-
- name: Setup Java
82-
uses: actions/setup-java@v4
83-
with:
84-
distribution: zulu
85-
java-version: 17
65+
# # Set up Java environment for the next steps
66+
# - name: Setup Java
67+
# uses: actions/setup-java@v4
68+
# with:
69+
# distribution: zulu
70+
# java-version: 17
8671

87-
# Setup Gradle
88-
- name: Setup Gradle
89-
uses: gradle/actions/setup-gradle@v3
90-
with:
91-
gradle-home-cache-cleanup: true
72+
# # Setup Gradle
73+
# - name: Setup Gradle
74+
# uses: gradle/actions/setup-gradle@v3
75+
# with:
76+
# gradle-home-cache-cleanup: true
9277

93-
# Set environment variables
94-
- name: Export Properties
95-
id: properties
96-
shell: bash
97-
run: |
98-
PROPERTIES="$(./gradlew properties --console=plain -q)"
99-
VERSION="$(echo "$PROPERTIES" | grep "^version:" | cut -f2- -d ' ')"
100-
# CHANGELOG="$(./gradlew getChangelog --unreleased --no-header --console=plain -q)"
101-
CHANGELOG=""
78+
# # Set environment variables
79+
# - name: Export Properties
80+
# id: properties
81+
# shell: bash
82+
# run: |
83+
# PROPERTIES="$(./gradlew properties --console=plain -q)"
84+
# VERSION="$(echo "$PROPERTIES" | grep "^version:" | cut -f2- -d ' ')"
85+
# # CHANGELOG="$(./gradlew getChangelog --unreleased --no-header --console=plain -q)"
86+
# CHANGELOG=""
10287

103-
echo "version=$VERSION" >> $GITHUB_OUTPUT
104-
echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
88+
# echo "version=$VERSION" >> $GITHUB_OUTPUT
89+
# echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
10590

106-
echo "changelog<<EOF" >> $GITHUB_OUTPUT
107-
echo "$CHANGELOG" >> $GITHUB_OUTPUT
108-
echo "EOF" >> $GITHUB_OUTPUT
91+
# echo "changelog<<EOF" >> $GITHUB_OUTPUT
92+
# echo "$CHANGELOG" >> $GITHUB_OUTPUT
93+
# echo "EOF" >> $GITHUB_OUTPUT
10994

110-
./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier
95+
# ./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier
11196

112-
# Setup Node.js
113-
- name: Use Node.js from .nvmrc
114-
uses: actions/setup-node@v4
115-
with:
116-
node-version-file: ".nvmrc"
97+
# # Setup Node.js
98+
# - name: Use Node.js from .nvmrc
99+
# uses: actions/setup-node@v4
100+
# with:
101+
# node-version-file: ".nvmrc"
117102

118103
# Cache node_modules
119104
- name: Cache core node_modules
@@ -128,11 +113,11 @@ jobs:
128113
path: binary/node_modules
129114
key: ${{ runner.os }}-node-${{ hashFiles('binary/package-lock.json') }}
130115

131-
- name: Cache gui node_modules
132-
uses: actions/cache@v3
133-
with:
134-
path: gui/node_modules
135-
key: ${{ runner.os }}-node-${{ hashFiles('gui/package-lock.json') }}
116+
# - name: Cache gui node_modules
117+
# uses: actions/cache@v3
118+
# with:
119+
# path: gui/node_modules
120+
# key: ${{ runner.os }}-node-${{ hashFiles('gui/package-lock.json') }}
136121

137122
# npm install core
138123
- name: Install core node_modules
@@ -141,21 +126,21 @@ jobs:
141126
npm ci
142127
143128
# npm install gui
144-
- name: Install gui node_modules and build
145-
run: |
146-
cd ../../gui
147-
npm ci
148-
npm run build
129+
# - name: Install gui node_modules and build
130+
# run: |
131+
# cd ../../gui
132+
# npm ci
133+
# npm run build
149134

150135
# Run prepackage.js script
151-
- name: Run prepackage script
152-
run: |
153-
cd ../../extensions/vscode
154-
npm ci
155-
npm run prepackage
156-
env:
157-
# https://github.com/microsoft/vscode-ripgrep/issues/9#issuecomment-643965333
158-
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
136+
# - name: Run prepackage script
137+
# run: |
138+
# cd ../../extensions/vscode
139+
# npm ci
140+
# npm run prepackage
141+
# env:
142+
# # https://github.com/microsoft/vscode-ripgrep/issues/9#issuecomment-643965333
143+
# GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
159144

160145
# npm install binary
161146
- name: Install binary node_modules
@@ -183,6 +168,10 @@ jobs:
183168
echo "Validating codesigning for darwin-arm64 binary"
184169
codesign -dv --verbose=4 ../../binary/bin/darwin-arm64/continue-binary
185170
171+
- name: Try to run the darwin-arm64 binary
172+
run: |
173+
../../binary/bin/darwin-arm64/continue-binary
174+
186175
# - name: Sign darwin-arm64 binary
187176
# uses: lando/code-sign-action@v2
188177
# with:
@@ -210,29 +199,29 @@ jobs:
210199
# options: --options runtime --entitlements entitlements.xml
211200

212201
# Build plugin
213-
- name: Build plugin
214-
run: ./gradlew buildPlugin
215-
216-
# Prepare plugin archive content for creating artifact
217-
- name: Prepare Plugin Artifact
218-
id: artifact
219-
shell: bash
220-
run: |
221-
cd ../../extensions/intellij/build/distributions
222-
echo "Builds:"
223-
ls
224-
echo "---"
225-
FILENAME=`ls *.zip`
226-
unzip "$FILENAME" -d content
227-
228-
echo "filename=${FILENAME%.????}" >> $GITHUB_OUTPUT
202+
# - name: Build plugin
203+
# run: ./gradlew buildPlugin
229204

230-
# Store already-built plugin as an artifact for downloading
231-
- name: Upload artifact
232-
uses: actions/upload-artifact@v4
233-
with:
234-
name: ${{ steps.artifact.outputs.filename }}
235-
path: ./extensions/intellij/build/distributions/content/*/*
205+
# # Prepare plugin archive content for creating artifact
206+
# - name: Prepare Plugin Artifact
207+
# id: artifact
208+
# shell: bash
209+
# run: |
210+
# cd ../../extensions/intellij/build/distributions
211+
# echo "Builds:"
212+
# ls
213+
# echo "---"
214+
# FILENAME=`ls *.zip`
215+
# unzip "$FILENAME" -d content
216+
217+
# echo "filename=${FILENAME%.????}" >> $GITHUB_OUTPUT
218+
219+
# # Store already-built plugin as an artifact for downloading
220+
# - name: Upload artifact
221+
# uses: actions/upload-artifact@v4
222+
# with:
223+
# name: ${{ steps.artifact.outputs.filename }}
224+
# path: ./extensions/intellij/build/distributions/content/*/*
236225

237226
# Upload binaries as artifacts
238227
- name: Upload artifact (darwin-arm64)

0 commit comments

Comments
 (0)