diff options
author | 2022-04-19 15:54:00 -0500 | |
---|---|---|
committer | 2022-04-19 15:54:00 -0500 | |
commit | f0c03b1d61230233c8970a88dba67d103a3cdef6 (patch) | |
tree | 8f042dab4ef6b647460bf6bcd006687a780ee549 /.github/workflows/builds.yml | |
parent | Removed twitter-together and its folder (diff) | |
download | ferdium-app-f0c03b1d61230233c8970a88dba67d103a3cdef6.tar.gz ferdium-app-f0c03b1d61230233c8970a88dba67d103a3cdef6.tar.zst ferdium-app-f0c03b1d61230233c8970a88dba67d103a3cdef6.zip |
Turn off creating and publishing snapcraft till we get the logins sorted
Diffstat (limited to '.github/workflows/builds.yml')
-rw-r--r-- | .github/workflows/builds.yml | 73 |
1 files changed, 37 insertions, 36 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 5c2535587..1a93ab19a 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml | |||
@@ -246,42 +246,43 @@ jobs: | |||
246 | if: ${{ env.GIT_BRANCH_NAME != 'nightly' && env.GIT_BRANCH_NAME != 'release' }} | 246 | if: ${{ env.GIT_BRANCH_NAME != 'nightly' && env.GIT_BRANCH_NAME != 'release' }} |
247 | run: npm run build -- --publish never | 247 | run: npm run build -- --publish never |
248 | shell: bash | 248 | shell: bash |
249 | - name: Build Ferdium with publish for 'nightly' branch | 249 | # TODO: Commented out the snapcraft artifact publishing for now (need to setup the snapcraft login, etc) |
250 | if: ${{ env.GIT_BRANCH_NAME == 'nightly' }} | 250 | # - name: Build Ferdium with publish for 'nightly' branch |
251 | env: | 251 | # if: ${{ env.GIT_BRANCH_NAME == 'nightly' }} |
252 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} | 252 | # env: |
253 | CSC_IDENTITY_AUTO_DISCOVERY: false | 253 | # GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} |
254 | SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} | 254 | # CSC_IDENTITY_AUTO_DISCOVERY: false |
255 | run: | | 255 | # SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} |
256 | sudo snap install snapcraft --classic | 256 | # run: | |
257 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | 257 | # sudo snap install snapcraft --classic |
258 | npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.snap.publish.provider=snapStore -c.snap.publish.repo=nightlies -c.snap.publish.channels=edge | 258 | # echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - |
259 | snapcraft logout | 259 | # npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.snap.publish.provider=snapStore -c.snap.publish.repo=nightlies -c.snap.publish.channels=edge |
260 | shell: bash | 260 | # snapcraft logout |
261 | - name: Build Ferdium with publish for 'release' beta branch | 261 | # shell: bash |
262 | if: ${{ env.GIT_BRANCH_NAME == 'release' && contains(env.PACKAGE_VERSION, 'beta') }} | 262 | # - name: Build Ferdium with publish for 'release' beta branch |
263 | env: | 263 | # if: ${{ env.GIT_BRANCH_NAME == 'release' && contains(env.PACKAGE_VERSION, 'beta') }} |
264 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} | 264 | # env: |
265 | CSC_IDENTITY_AUTO_DISCOVERY: false | 265 | # GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} |
266 | SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} | 266 | # CSC_IDENTITY_AUTO_DISCOVERY: false |
267 | run: | | 267 | # SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} |
268 | sudo snap install snapcraft --classic | 268 | # run: | |
269 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | 269 | # sudo snap install snapcraft --classic |
270 | npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=ferdium -c.snap.publish.provider=snapStore -c.snap.publish.repo=ferdium -c.snap.publish.channels=beta | 270 | # echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - |
271 | snapcraft logout | 271 | # npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=ferdium -c.snap.publish.provider=snapStore -c.snap.publish.repo=ferdium -c.snap.publish.channels=beta |
272 | shell: bash | 272 | # snapcraft logout |
273 | - name: Build Ferdium with publish for 'release' stable branch | 273 | # shell: bash |
274 | if: ${{ env.GIT_BRANCH_NAME == 'release' && !contains(env.PACKAGE_VERSION, 'beta') }} | 274 | # - name: Build Ferdium with publish for 'release' stable branch |
275 | env: | 275 | # if: ${{ env.GIT_BRANCH_NAME == 'release' && !contains(env.PACKAGE_VERSION, 'beta') }} |
276 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} | 276 | # env: |
277 | CSC_IDENTITY_AUTO_DISCOVERY: false | 277 | # GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} |
278 | SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} | 278 | # CSC_IDENTITY_AUTO_DISCOVERY: false |
279 | run: | | 279 | # SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} |
280 | sudo snap install snapcraft --classic | 280 | # run: | |
281 | echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | 281 | # sudo snap install snapcraft --classic |
282 | npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=ferdium -c.snap.publish.provider=snapStore -c.snap.publish.repo=ferdium -c.snap.publish.channels=stable | 282 | # echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - |
283 | snapcraft logout | 283 | # npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=ferdium -c.snap.publish.provider=snapStore -c.snap.publish.repo=ferdium -c.snap.publish.channels=stable |
284 | shell: bash | 284 | # snapcraft logout |
285 | # shell: bash | ||
285 | 286 | ||
286 | build_windows: | 287 | build_windows: |
287 | name: 'windows ${{ github.event.inputs.message }}' | 288 | name: 'windows ${{ github.event.inputs.message }}' |