Skip to content

fix: add version track #12

fix: add version track

fix: add version track #12

Workflow file for this run

name: Deno Compile
on:
push:
branches:
- main
jobs:
compile:
strategy:
matrix:
target: [{target: x86_64-unknown-linux-gnu, file: linux/ollamamodelupdate}, {target: x86_64-pc-windows-msvc, file: windows/ollamamodelupdate.exe}, {target: x86_64-apple-darwin, file: macos-x86/ollamamodelupdate}, {target: aarch64-apple-darwin, file: macos-arm64/ollamamodelupdate}]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Conventional Changelog
id: changelog
uses: TriPSs/conventional-changelog-action@v3.7.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: denoland/setup-deno@v1
with:
deno-version: 1.37.2
- run:
deno compile --allow-net --target ${{ matrix.target.target }} --output ${{ matrix.target.file}} update.ts
# - uses: "marvinpinto/action-automatic-releases@latest"
# with:
# repo_token: "${{ secrets.GITHUB_TOKEN }}"
# automatic_release_tag: "latest"
# prerelease: false
# title: "Latest Build"
# files: |
# linux/ollamamodelupdate
# windows/ollamamodelupdate.exe
# macos-x86/ollamamodelupdate
# macos-arm64/ollamamodelupdate
- name: Release
uses: softprops/action-gh-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
files: |
linux/ollamamodelupdate
windows/ollamamodelupdate.exe
macos-x86/ollamamodelupdate
macos-arm64/ollamamodelupdate
token: ${{ secrets.GITHUB_TOKEN }}