Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Sep 30, 2024
1 parent 0722898 commit 047d95a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [linux, macos]
runs-on: ${{ fromJSON('{"linux":["self-hosted","linux"],"macos":"macos-15"}')[matrix.os] }}
runs-on: ${{ fromJSON('{"linux":"ubuntu-latest","macos":"macos-15"}')[matrix.os] }}

steps:
- name: Checkout Code
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
name: Build and Upload
strategy:
matrix:
os: [ubuntu-latest, macos-15]
runs-on: ${{ matrix.os }}
os: [linux, macos]
runs-on: ${{ fromJSON('{"linux":"ubuntu-latest","macos":"macos-15"}')[matrix.os] }}

steps:
- name: Checkout Code
Expand All @@ -35,7 +35,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-build
path: ${{ matrix.os }}-build.tar.gz
path: build.tar.gz
retention-days: 1

create-release:
Expand All @@ -52,5 +52,5 @@ jobs:
make_latest: true
generate_release_notes: true
files: |
ubuntu-latest-build/ubuntu-latest-build.tar.gz
macos-15-build/macos-15-build.tar.gz
linux-build/build.tar.gz
macos-build/build.tar.gz

0 comments on commit 047d95a

Please sign in to comment.