10 Commits

Author SHA1 Message Date
hiento09
5ef49c8684
Correct jq command cause ci nightly build run failed (#1104)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-19 17:31:22 +07:00
hiento09
96b00bd284
Fix auto update windows Bug (#1102)
* upgrade electron-updater and electron-builder for fixing windows autoupdater

* windows specific target build

* Add block map for windows nightly build

* content-type blocksize change to application/gzip

* content-type blocksize change to application/octet-stream

* remove content-type for windows

* add custom sign for windows

* correct exe file path for binary file

* Add windows codesign step to electron-builder

---------

Co-authored-by: Service Account <service@jan.ai>
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-19 16:33:53 +07:00
hiento09
9004671e5f
Fix nightly build autoupdater (#1073)
* add zip file for auto updater

* remove non-exist file in aws s3api put-object

---------

Co-authored-by: Service Account <service@jan.ai>
2023-12-19 02:57:58 +07:00
hiento09
a296cb2c85
Feature autoupdater for nightly build (#1068)
* CI nightly build enable auto-updater

* Add jobs dependencies

* add continue on error for task delete latest folder on R2

* Switch to use aws s3api

* Switch to use bash for make build command

* Fix error region aws s3cli command

* Fix makefile command error on windows

* Change content type of yaml file upload to R2

* add retry curl github api

* Fix error command aws s3api delete-objects

* quit from tty for aws s3api command

* CI nightly build enable auto-updater

* Add jobs dependencies

* add continue on error for task delete latest folder on R2

* Switch to use aws s3api

* Switch to use bash for make build command

* Fix error region aws s3cli command

* Fix makefile command error on windows

* Change content type of yaml file upload to R2

* add retry curl github api

* Fix error command aws s3api delete-objects

* quit from tty for aws s3api command

* Correct yml file for auto updater electron

* Add channel for auto-updater

* Add channel for auto-updater

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: Service Account <service@jan.ai>
2023-12-19 00:06:09 +07:00
hiento09
9ca65e1894
Fix update release url pipeline run failed (#947)
* update-release-url pipeline add trigger commit to git if github event is release

* Remove v in release tag

* Change job name and add checkout step

* Checkout step uses service account token

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-12 09:08:36 +07:00
hiento09
0e52ba8483
Fix update release url pipeline (#941)
* update-release-url pipeline add trigger commit to git if github event is release

* Remove v in release tag

* Change job name and add checkout step

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-11 18:56:59 +07:00
hiento09
074b18da74
CI automatically update Update README with Nightly Build Information and stable download URL (#940)
* Add table download to README

* CI update Nightly Build URL on github README.md file

* Add CI to update latest release url to README.md

* Add clean cache to test pipeline

* set style=text-align:center in download table

* Manual build update experimental URL if triggered from main branch

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-11 18:33:41 +07:00
hiento09
443e595918
Add document for nightly build and update message for manual build (#831)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-04 14:28:53 +07:00
hiento09
e6de39dcb1
Remove .zip in artifact name (#800)
* Remove .zip in artifact name

* Update jan-electron-build-nightly.yml

* Change schedule time to 3am UTC+7
2023-12-01 11:09:28 +07:00
hiento09
e5d4b81aab
Add nightly build ci (#794)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-30 20:23:45 +07:00