Skip to content

Commit

Permalink
try self-hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
heckerpowered committed Oct 3, 2024
1 parent 052c781 commit 4a39084
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/self-hosted.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish to GitHub (Self Hosted)

on:
push:
branches: ["main", "github-action"]
pull_request:
branches: ["main"]

jobs:
build-macOS:
runs-on: self-hosted

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build
run: |
xmake f -p macosx -a arm64 -m release
xmake -y
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: Mamba
path: |
build/macosx/arm64/release/mamba

0 comments on commit 4a39084

Please sign in to comment.