diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-04-22 02:44:00 -0500 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-22 02:44:00 -0500 |
commit | 3cdcd19d14695d571e43ba8ba009ade92d94c959 (patch) | |
tree | ecc3aaaa0c3ddab75251a8e6a9993133b300cd42 /.github/workflows/builds.yml | |
parent | Update 'recipes' submodule. (diff) | |
download | ferdium-app-3cdcd19d14695d571e43ba8ba009ade92d94c959.tar.gz ferdium-app-3cdcd19d14695d571e43ba8ba009ade92d94c959.tar.zst ferdium-app-3cdcd19d14695d571e43ba8ba009ade92d94c959.zip |
Turn on linux builds but still commented out snap publish
Diffstat (limited to '.github/workflows/builds.yml')
-rw-r--r-- | .github/workflows/builds.yml | 83 |
1 files changed, 44 insertions, 39 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 5a9ee79aa..b37e9008b 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml | |||
@@ -168,7 +168,7 @@ jobs: | |||
168 | # CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} | 168 | # CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} |
169 | - name: Build Ferdium with publish for 'release' branch | 169 | - name: Build Ferdium with publish for 'release' branch |
170 | if: ${{ env.GIT_BRANCH_NAME == 'release' }} | 170 | if: ${{ env.GIT_BRANCH_NAME == 'release' }} |
171 | run: npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=ferdium | 171 | run: npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} |
172 | shell: bash | 172 | shell: bash |
173 | env: | 173 | env: |
174 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} | 174 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} |
@@ -244,43 +244,48 @@ jobs: | |||
244 | if: ${{ env.GIT_BRANCH_NAME != 'nightly' && env.GIT_BRANCH_NAME != 'release' }} | 244 | if: ${{ env.GIT_BRANCH_NAME != 'nightly' && env.GIT_BRANCH_NAME != 'release' }} |
245 | run: npm run build -- --publish never | 245 | run: npm run build -- --publish never |
246 | shell: bash | 246 | shell: bash |
247 | # TODO: Commented out the snapcraft artifact publishing for now (need to setup the snapcraft login, etc) | 247 | - name: Build Ferdium with publish for 'nightly' branch |
248 | # - name: Build Ferdium with publish for 'nightly' branch | 248 | if: ${{ env.GIT_BRANCH_NAME == 'nightly' }} |
249 | # if: ${{ env.GIT_BRANCH_NAME == 'nightly' }} | 249 | env: |
250 | # env: | 250 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} |
251 | # GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} | 251 | CSC_IDENTITY_AUTO_DISCOVERY: false |
252 | # CSC_IDENTITY_AUTO_DISCOVERY: false | 252 | # TODO: Commented out the snapcraft artifact publishing for now (need to setup the snapcraft login, etc) |
253 | # SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} | 253 | # SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} |
254 | # run: | | 254 | run: | |
255 | # sudo snap install snapcraft --classic | 255 | # sudo snap install snapcraft --classic |
256 | # echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | 256 | # echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - |
257 | # 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 | 257 | npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} |
258 | # snapcraft logout | 258 | # -c.snap.publish.provider=snapStore -c.snap.publish.repo=nightlies -c.snap.publish.channels=edge |
259 | # shell: bash | 259 | snapcraft logout |
260 | # - name: Build Ferdium with publish for 'release' beta branch | 260 | shell: bash |
261 | # if: ${{ env.GIT_BRANCH_NAME == 'release' && contains(env.PACKAGE_VERSION, 'beta') }} | 261 | - name: Build Ferdium with publish for 'release' beta branch |
262 | # env: | 262 | if: ${{ env.GIT_BRANCH_NAME == 'release' && contains(env.PACKAGE_VERSION, 'beta') }} |
263 | # GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} | 263 | env: |
264 | # CSC_IDENTITY_AUTO_DISCOVERY: false | 264 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} |
265 | # SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} | 265 | CSC_IDENTITY_AUTO_DISCOVERY: false |
266 | # run: | | 266 | # TODO: Commented out the snapcraft artifact publishing for now (need to setup the snapcraft login, etc) |
267 | # sudo snap install snapcraft --classic | 267 | # SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} |
268 | # echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | 268 | run: | |
269 | # 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 | 269 | # sudo snap install snapcraft --classic |
270 | # snapcraft logout | 270 | # echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - |
271 | # shell: bash | 271 | npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} |
272 | # - name: Build Ferdium with publish for 'release' stable branch | 272 | # -c.snap.publish.provider=snapStore -c.snap.publish.repo=ferdium -c.snap.publish.channels=beta |
273 | # if: ${{ env.GIT_BRANCH_NAME == 'release' && !contains(env.PACKAGE_VERSION, 'beta') }} | 273 | # snapcraft logout |
274 | # env: | 274 | shell: bash |
275 | # GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} | 275 | - name: Build Ferdium with publish for 'release' stable branch |
276 | # CSC_IDENTITY_AUTO_DISCOVERY: false | 276 | if: ${{ env.GIT_BRANCH_NAME == 'release' && !contains(env.PACKAGE_VERSION, 'beta') }} |
277 | # SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} | 277 | env: |
278 | # run: | | 278 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} |
279 | # sudo snap install snapcraft --classic | 279 | CSC_IDENTITY_AUTO_DISCOVERY: false |
280 | # echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | 280 | # TODO: Commented out the snapcraft artifact publishing for now (need to setup the snapcraft login, etc) |
281 | # 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 | 281 | # SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} |
282 | # snapcraft logout | 282 | run: | |
283 | # shell: bash | 283 | # sudo snap install snapcraft --classic |
284 | # echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - | ||
285 | npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} | ||
286 | # -c.snap.publish.provider=snapStore -c.snap.publish.repo=ferdium -c.snap.publish.channels=stable | ||
287 | # snapcraft logout | ||
288 | shell: bash | ||
284 | 289 | ||
285 | build_windows: | 290 | build_windows: |
286 | name: 'windows ${{ github.event.inputs.message }}' | 291 | name: 'windows ${{ github.event.inputs.message }}' |
@@ -347,7 +352,7 @@ jobs: | |||
347 | # WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }} | 352 | # WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }} |
348 | - name: Build Ferdium with publish for 'release' branch | 353 | - name: Build Ferdium with publish for 'release' branch |
349 | if: ${{ env.GIT_BRANCH_NAME == 'release' }} | 354 | if: ${{ env.GIT_BRANCH_NAME == 'release' }} |
350 | run: npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=ferdium | 355 | run: npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} |
351 | shell: bash | 356 | shell: bash |
352 | env: | 357 | env: |
353 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} | 358 | GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} |