Skip to content

Commit

Permalink
Change from github hotsted to macos selfhosted
Browse files Browse the repository at this point in the history
  • Loading branch information
hientominh committed Jul 26, 2024
1 parent 1fab7dc commit 299c005
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cortex-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI Cortex Release

on:
push:
tags: ["v[0-9]+.[0-9]+.[0-9]+", "v[0-9]+.[0-9]+.[0-9]+-*"]
tags: ["v[0-9]+.[0-9]+.[0-9]+", "v[0-9]+.[0-9]+.[0-9]+-*", "!v[0-9]+.[0-9]+.[0-9]+-cortex-js"]
paths: ["cortex-cpp/**", "cortex-js/**"]
workflow_dispatch:

Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:

- os: "mac"
name: "amd64"
runs-on: "macos-13"
runs-on: "macos-desktop"

- os: "mac"
name: "arm64"
Expand Down Expand Up @@ -279,6 +279,7 @@ jobs:
registry-url: "https://registry.npmjs.org"

- uses: actions/setup-python@v3
if: runner.os != 'macOS'
with:
python-version: "3.10"

Expand Down Expand Up @@ -487,8 +488,9 @@ jobs:
- name: Get release notes
id: release_notes
run: |
RELEASE_NOTES=$(curl -s -H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' https://github.com/gitapi/repos/${{ github.repository }}/releases/tags/${VERSION} | jq -r '.body')
RELEASE_NOTES="cortex update to version ${{ needs.create-draft-release.outputs.version }}"
echo "RELEASE_NOTES=${RELEASE_NOTES}" >> $GITHUB_ENV
- name: Update change log
run: |
sed -i "s/VERSION/${{ needs.create-draft-release.outputs.version }}/g" package-managers-template/launchpad/cortexso-${{ needs.create-draft-release.outputs.version }}/debian/changelog
Expand Down
4 changes: 2 additions & 2 deletions package-managers-template/launchpad/cortexso/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
cortexso (VERSION) jammy; urgency=low

CHANGELOG_HERE
* CHANGELOG_HERE

-- Homebrew Computer Pte Ltd <service@homebrew.ltd> TIME_HERE

cortexso (VERSION) noble; urgency=low

CHANGELOG_HERE
* CHANGELOG_HERE

-- Homebrew Computer Pte Ltd <service@homebrew.ltd> TIME_HERE

0 comments on commit 299c005

Please sign in to comment.