Skip to content

Commit

Permalink
Merge pull request #16 from Az-r-ow/ci
Browse files Browse the repository at this point in the history
feat: added macos arm runner
  • Loading branch information
Az-r-ow authored Mar 9, 2024
2 parents c46c2c4 + 131960a commit fe8aefb
Showing 1 changed file with 9 additions and 5 deletions.
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

0 comments on commit fe8aefb

Please sign in to comment.