diff options
author | 2022-06-16 04:49:24 +0530 | |
---|---|---|
committer | 2022-06-15 23:19:24 +0000 | |
commit | 20fda39fb1b5c8c58dc3757cef941463967a172a (patch) | |
tree | c187c4514db9d1a92e72d210eb28a80906bda44b | |
parent | 6.0.0-nightly.62 [skip ci] (diff) | |
download | ferdium-app-20fda39fb1b5c8c58dc3757cef941463967a172a.tar.gz ferdium-app-20fda39fb1b5c8c58dc3757cef941463967a172a.tar.zst ferdium-app-20fda39fb1b5c8c58dc3757cef941463967a172a.zip |
Trying to fix snap login issues (#272)
-rw-r--r-- | .github/workflows/builds.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 7af56cb51..9f7f544e9 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml | |||
@@ -259,9 +259,9 @@ jobs: | |||
259 | env: | 259 | env: |
260 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} | 260 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} |
261 | CSC_IDENTITY_AUTO_DISCOVERY: false | 261 | CSC_IDENTITY_AUTO_DISCOVERY: false |
262 | SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} | 262 | SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }} |
263 | run: | | 263 | run: | |
264 | sudo snap install snapcraft --channel=5.x/stable --classic | 264 | sudo snap install snapcraft --classic |
265 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | 265 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - |
266 | npm run build -- --publish always -c.snap.publish.repo=nightlies -c.snap.publish.channels=edge | 266 | npm run build -- --publish always -c.snap.publish.repo=nightlies -c.snap.publish.channels=edge |
267 | snapcraft logout | 267 | snapcraft logout |
@@ -271,9 +271,9 @@ jobs: | |||
271 | env: | 271 | env: |
272 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} | 272 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} |
273 | CSC_IDENTITY_AUTO_DISCOVERY: false | 273 | CSC_IDENTITY_AUTO_DISCOVERY: false |
274 | SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} | 274 | SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }} |
275 | run: | | 275 | run: | |
276 | sudo snap install snapcraft --channel=5.x/stable --classic | 276 | sudo snap install snapcraft --classic |
277 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | 277 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - |
278 | npm run build -- --publish always -c.snap.publish.repo=ferdium -c.snap.publish.channels=beta | 278 | npm run build -- --publish always -c.snap.publish.repo=ferdium -c.snap.publish.channels=beta |
279 | snapcraft logout | 279 | snapcraft logout |
@@ -283,9 +283,9 @@ jobs: | |||
283 | env: | 283 | env: |
284 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} | 284 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} |
285 | CSC_IDENTITY_AUTO_DISCOVERY: false | 285 | CSC_IDENTITY_AUTO_DISCOVERY: false |
286 | SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} | 286 | SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }} |
287 | run: | | 287 | run: | |
288 | sudo snap install snapcraft --channel=5.x/stable --classic | 288 | sudo snap install snapcraft --classic |
289 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | 289 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - |
290 | npm run build -- --publish always -c.snap.publish.repo=ferdium -c.snap.publish.channels=stable | 290 | npm run build -- --publish always -c.snap.publish.repo=ferdium -c.snap.publish.channels=stable |
291 | snapcraft logout | 291 | snapcraft logout |