chsrc/.github/workflows/linux-x64.yml
Aoran Zeng 7226eecf3d
Some checks are pending
Publish AUR Package (chsrc-git) / publish (push) Waiting to run
Rename action variable
2025-03-06 11:40:53 +08:00

31 lines
618 B
YAML

name: Linux x64 Build
on:
push:
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-build" ]
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_ARTIFACT_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: pre
files: |
chsrc-x64-linux
token: ${{ secrets.UPLOAD_TO_GITHUB }}