forked from janhq/jan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change release download url to cloudflare worker proxy and update dow…
…nload model tensorrt llm to aws s3 endpoint (janhq#2576) Co-authored-by: Hien To <[email protected]>
- Loading branch information
Showing
4 changed files
with
37 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,27 +47,11 @@ jobs: | |
with: | ||
args: | | ||
Jan App ${{ inputs.build_reason }} build artifact version {{ VERSION }}: | ||
- Windows: https://delta.jan.ai/latest/jan-win-x64-{{ VERSION }}.exe | ||
- macOS Intel: https://delta.jan.ai/latest/jan-mac-x64-{{ VERSION }}.dmg | ||
- macOS Apple Silicon: https://delta.jan.ai/latest/jan-mac-arm64-{{ VERSION }}.dmg | ||
- Linux Deb: https://delta.jan.ai/latest/jan-linux-amd64-{{ VERSION }}.deb | ||
- Linux AppImage: https://delta.jan.ai/latest/jan-linux-x86_64-{{ VERSION }}.AppImage | ||
- Windows: https://app.jan.ai/download/nightly/win-x64 | ||
- macOS Intel: https://app.jan.ai/download/nightly/mac-x64 | ||
- macOS Apple Silicon: https://app.jan.ai/download/nightly/mac-arm64 | ||
- Linux Deb: https://app.jan.ai/download/nightly/linux-amd64-deb | ||
- Linux AppImage: https://app.jan.ai/download/nightly/linux-amd64-appimage | ||
- Github action run: https://github.com/janhq/jan/actions/runs/{{ GITHUB_RUN_ID }} | ||
env: | ||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | ||
|
||
- name: Update README.md with artifact URL | ||
run: | | ||
sed -i "s|<a href='https://delta.jan.ai/latest/jan-win-x64-.*'>|<a href='https://delta.jan.ai/latest/jan-win-x64-${{ inputs.new_version }}.exe'>|" README.md | ||
sed -i "s|<a href='https://delta.jan.ai/latest/jan-mac-x64-.*'>|<a href='https://delta.jan.ai/latest/jan-mac-x64-${{ inputs.new_version }}.dmg'>|" README.md | ||
sed -i "s|<a href='https://delta.jan.ai/latest/jan-mac-arm64-.*'>|<a href='https://delta.jan.ai/latest/jan-mac-arm64-${{ inputs.new_version }}.dmg'>|" README.md | ||
sed -i "s|<a href='https://delta.jan.ai/latest/jan-linux-amd64-.*'>|<a href='https://delta.jan.ai/latest/jan-linux-amd64-${{ inputs.new_version }}.deb'>|" README.md | ||
sed -i "s|<a href='https://delta.jan.ai/latest/jan-linux-x86_64-.*'>|<a href='https://delta.jan.ai/latest/jan-linux-x86_64-${{ inputs.new_version }}.AppImage'>|" README.md | ||
cat README.md | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Service Account" | ||
git add README.md | ||
git commit -m "${GITHUB_REPOSITORY}: Update README.md with nightly build artifact URL" | ||
git -c http.extraheader="AUTHORIZATION: bearer ${{ secrets.PAT_SERVICE_ACCOUNT }}" push origin HEAD:${{ inputs.push_to_branch }} | ||
env: | ||
GITHUB_RUN_ID: ${{ github.run_id }} | ||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters