chsrc/.github/workflows/linux-x64.yml

31 lines
617 B
YAML
Raw Normal View History

2023-09-21 21:28:33 +08:00
name: Linux x64 Build
on:
push:
branches: [ "gh-pipeline" ]
pull_request:
branches: [ "gh-pipeline" ]
jobs:
x64-linux-build-and-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Compile chsrc x64
run: |
2024-05-25 01:11:16 +08:00
make CI CI_Build_Name=chsrc-x64-linux
2023-09-21 21:28:33 +08:00
- name: List files
run: ls *-linux
- name: Release
uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
with:
2024-06-11 22:45:34 +08:00
tag_name: pre
2023-09-21 21:28:33 +08:00
files: |
chsrc-x64-linux
token: ${{ secrets.CHSRC_UPLOAD }}