11
11
# release:
12
12
# types: [prereleased]
13
13
14
- defaults :
15
- run :
16
- working-directory : extensions/intellij
14
+ # defaults:
15
+ # run:
16
+ # working-directory: extensions/intellij
17
17
18
18
concurrency :
19
19
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -58,62 +58,47 @@ jobs:
58
58
p12-file-base64 : ${{ secrets.APPLE_CERT_DATA }}
59
59
p12-password : ${{ secrets.APPLE_CERT_PASSWORD }}
60
60
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
-
76
61
# 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
79
64
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
86
71
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
92
77
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=""
102
87
103
- echo "version=$VERSION" >> $GITHUB_OUTPUT
104
- echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
88
+ # echo "version=$VERSION" >> $GITHUB_OUTPUT
89
+ # echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
105
90
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
109
94
110
- ./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier
95
+ # ./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier
111
96
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"
117
102
118
103
# Cache node_modules
119
104
- name : Cache core node_modules
@@ -128,11 +113,11 @@ jobs:
128
113
path : binary/node_modules
129
114
key : ${{ runner.os }}-node-${{ hashFiles('binary/package-lock.json') }}
130
115
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') }}
136
121
137
122
# npm install core
138
123
- name : Install core node_modules
@@ -141,21 +126,21 @@ jobs:
141
126
npm ci
142
127
143
128
# 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
149
134
150
135
# 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 }}
159
144
160
145
# npm install binary
161
146
- name : Install binary node_modules
@@ -183,6 +168,10 @@ jobs:
183
168
echo "Validating codesigning for darwin-arm64 binary"
184
169
codesign -dv --verbose=4 ../../binary/bin/darwin-arm64/continue-binary
185
170
171
+ - name : Try to run the darwin-arm64 binary
172
+ run : |
173
+ ../../binary/bin/darwin-arm64/continue-binary
174
+
186
175
# - name: Sign darwin-arm64 binary
187
176
# uses: lando/code-sign-action@v2
188
177
# with:
@@ -210,29 +199,29 @@ jobs:
210
199
# options: --options runtime --entitlements entitlements.xml
211
200
212
201
# 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
229
204
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/*/*
236
225
237
226
# Upload binaries as artifacts
238
227
- name : Upload artifact (darwin-arm64)
0 commit comments