Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added macos arm runner #16

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Create Release
on:
push:
tags:
- "*"
- "v*"

env:
SCRIPTS_DIR: scripts
Expand All @@ -15,7 +15,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
os: [ubuntu-latest, macos-latest, macos-13-xlarge]
python-version: ["3.9", "3.10"]

steps:
Expand Down Expand Up @@ -43,6 +43,8 @@ jobs:
with:
name: so-file-${{ matrix.os }}-${{ matrix.python-version }}
path: ${{ env.BUILD_DIR}}/*.so
if-no-files-found: error
retention-days: 1

release:
needs: build
Expand All @@ -55,13 +57,15 @@ jobs:
uses: actions/download-artifact@v4
with:
pattern: "so-file-*"
path: ${{ env.BUILD_DIR}}
path: ${{ env.BUILD_DIR }}

- run: ls ${{ env.BUILD_DIR }}

- name: Create Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.PAT }}
automatic_release_tag: "latest"
prerelase: true
prerelease: true
title: "Pre-release"
files: ${{ env.BUILD_DIR}}/*.so
files: ${{ env.BUILD_DIR }}/*.so