Skip to content

Commit cc7448e

Browse files
committed
fix linux platform name
1 parent ce55992 commit cc7448e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
dist/JupyterLab.rpm
140140
141141
- name: Upload Snap Installer
142-
if: matrix.cfg.platform == 'linux'
142+
if: matrix.cfg.platform == 'linux-64'
143143
uses: actions/upload-artifact@v4
144144
id: snap-artifact
145145
with:
@@ -252,7 +252,7 @@ jobs:
252252
overwrite: true
253253

254254
- name: Upload snap installer as Release asset
255-
if: matrix.cfg.platform == 'linux' && steps.release-exists.outputs.result == 'true'
255+
if: matrix.cfg.platform == 'linux-64' && steps.release-exists.outputs.result == 'true'
256256
uses: svenstaro/upload-release-action@v2
257257
with:
258258
repo_token: ${{ secrets.JLAB_APP_TOKEN }}
@@ -262,7 +262,7 @@ jobs:
262262
overwrite: true
263263

264264
- name: Publish snap to the latest/edge channel in Snap Store
265-
if: matrix.cfg.platform == 'linux'
265+
if: matrix.cfg.platform == 'linux-64'
266266
uses: snapcore/action-publish@v1
267267
env:
268268
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
@@ -271,7 +271,7 @@ jobs:
271271
release: edge
272272

273273
- name: Publish snap to the latest/stable channel in Snap Store
274-
if: matrix.cfg.platform == 'linux' && steps.release-exists.outputs.result == 'true'
274+
if: matrix.cfg.platform == 'linux-64' && steps.release-exists.outputs.result == 'true'
275275
uses: snapcore/action-publish@v1
276276
env:
277277
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}

0 commit comments

Comments
 (0)