Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 299c005

Browse files
committed
Change from github hotsted to macos selfhosted
1 parent 1fab7dc commit 299c005

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/cortex-build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI Cortex Release
22

33
on:
44
push:
5-
tags: ["v[0-9]+.[0-9]+.[0-9]+", "v[0-9]+.[0-9]+.[0-9]+-*"]
5+
tags: ["v[0-9]+.[0-9]+.[0-9]+", "v[0-9]+.[0-9]+.[0-9]+-*", "!v[0-9]+.[0-9]+.[0-9]+-cortex-js"]
66
paths: ["cortex-cpp/**", "cortex-js/**"]
77
workflow_dispatch:
88

@@ -234,7 +234,7 @@ jobs:
234234

235235
- os: "mac"
236236
name: "amd64"
237-
runs-on: "macos-13"
237+
runs-on: "macos-desktop"
238238

239239
- os: "mac"
240240
name: "arm64"
@@ -279,6 +279,7 @@ jobs:
279279
registry-url: "https://registry.npmjs.org"
280280

281281
- uses: actions/setup-python@v3
282+
if: runner.os != 'macOS'
282283
with:
283284
python-version: "3.10"
284285

@@ -487,8 +488,9 @@ jobs:
487488
- name: Get release notes
488489
id: release_notes
489490
run: |
490-
RELEASE_NOTES=$(curl -s -H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' https://api.github.com/repos/${{ github.repository }}/releases/tags/${VERSION} | jq -r '.body')
491+
RELEASE_NOTES="cortex update to version ${{ needs.create-draft-release.outputs.version }}"
491492
echo "RELEASE_NOTES=${RELEASE_NOTES}" >> $GITHUB_ENV
493+
492494
- name: Update change log
493495
run: |
494496
sed -i "s/VERSION/${{ needs.create-draft-release.outputs.version }}/g" package-managers-template/launchpad/cortexso-${{ needs.create-draft-release.outputs.version }}/debian/changelog
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
cortexso (VERSION) jammy; urgency=low
22

3-
CHANGELOG_HERE
3+
* CHANGELOG_HERE
44

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

77
cortexso (VERSION) noble; urgency=low
88

9-
CHANGELOG_HERE
9+
* CHANGELOG_HERE
1010

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

0 commit comments

Comments
 (0)