Remove .zip in artifact name (#800)
* Remove .zip in artifact name * Update jan-electron-build-nightly.yml * Change schedule time to 3am UTC+7
This commit is contained in:
parent
60d4ee8183
commit
e6de39dcb1
17
.github/workflows/jan-electron-build-nightly.yml
vendored
17
.github/workflows/jan-electron-build-nightly.yml
vendored
@ -2,14 +2,9 @@ name: Jan Build Electron App Nightly
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 16 * * *' # At 4 PM UTC, which is 11 AM UTC+7
|
- cron: '0 20 * * *' # At 8 PM UTC, which is 3 AM UTC+7
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
|
||||||
branch:
|
|
||||||
description: 'Branch to build'
|
|
||||||
required: true
|
|
||||||
default: 'main'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-macos:
|
build-macos:
|
||||||
@ -73,13 +68,13 @@ jobs:
|
|||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: jan-mac-x64-${{ steps.version_update.outputs.new_version }}.dmg.zip
|
name: jan-mac-x64-${{ steps.version_update.outputs.new_version }}.dmg
|
||||||
path: ./electron/dist/jan-mac-x64-${{ steps.version_update.outputs.new_version }}.dmg
|
path: ./electron/dist/jan-mac-x64-${{ steps.version_update.outputs.new_version }}.dmg
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: jan-mac-arm64-${{ steps.version_update.outputs.new_version }}.dmg.zip
|
name: jan-mac-arm64-${{ steps.version_update.outputs.new_version }}.dmg
|
||||||
path: ./electron/dist/jan-mac-arm64-${{ steps.version_update.outputs.new_version }}.dmg
|
path: ./electron/dist/jan-mac-arm64-${{ steps.version_update.outputs.new_version }}.dmg
|
||||||
|
|
||||||
build-windows-x64:
|
build-windows-x64:
|
||||||
@ -129,7 +124,7 @@ jobs:
|
|||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: jan-win-x64-${{ steps.version_update.outputs.new_version }}.exe.zip
|
name: jan-win-x64-${{ steps.version_update.outputs.new_version }}.exe
|
||||||
path: ./electron/dist/*.exe
|
path: ./electron/dist/*.exe
|
||||||
|
|
||||||
build-linux-x64:
|
build-linux-x64:
|
||||||
@ -175,7 +170,7 @@ jobs:
|
|||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: jan-linux-amd64-${{ steps.version_update.outputs.new_version }}.deb.zip
|
name: jan-linux-amd64-${{ steps.version_update.outputs.new_version }}.deb
|
||||||
path: ./electron/dist/*.deb
|
path: ./electron/dist/*.deb
|
||||||
|
|
||||||
noti-discord:
|
noti-discord:
|
||||||
@ -187,4 +182,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
args: "Nightly build artifact: https://github.com/janhq/jan/actions/runs/{{ GITHUB_RUN_ID }}"
|
args: "Nightly build artifact: https://github.com/janhq/jan/actions/runs/{{ GITHUB_RUN_ID }}"
|
||||||
env:
|
env:
|
||||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user