mirror of
https://github.com/RubyMetric/chsrc.git
synced 2024-11-25 17:56:27 +08:00
31 lines
620 B
YAML
31 lines
620 B
YAML
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: |
|
|
make CI CI_Build_Name=chsrc-x64-linux
|
|
|
|
- name: List files
|
|
run: ls *-linux
|
|
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v1
|
|
# if: startsWith(github.ref, 'refs/tags/')
|
|
with:
|
|
tag_name: latest
|
|
files: |
|
|
chsrc-x64-linux
|
|
token: ${{ secrets.CHSRC_UPLOAD }}
|