chsrc/.github/workflows/macos.yml
2024-05-25 01:37:52 +08:00

33 lines
607 B
YAML

name: macOS Build
on:
push:
branches: [ "gh-pipeline" ]
pull_request:
branches: [ "gh-pipeline" ]
jobs:
build-and-upload:
runs-on: macos-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Compile chsrc x64
run: |
make CI CI_Build_Name=chsrc-x64-macos
- name: List files
run: ls *-macos
- name: Release
uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
with:
tag_name: latest
files: |
chsrc-x64-macos
token: ${{ secrets.CHSRC_UPLOAD }}