mirror of
https://github.com/RubyMetric/chsrc
synced 2025-12-16 08:04:28 +08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
973 B
YAML
40 lines
973 B
YAML
# ---------------------------------------------------------------
|
|
# Workflow File : build-on-Linux-x64.yml
|
|
# File Authors : 曾奥然 <ccmywish@qq.com>
|
|
# Contributors : Nul None <nul@none.org>
|
|
# |
|
|
# Created On : <2023-09-14>
|
|
# Last Modified : <2025-09-12>
|
|
#
|
|
# Build chsrc on Linux (x64) and upload it to GitHub: the 'pre' release
|
|
# ---------------------------------------------------------------
|
|
|
|
name: 构建于 Linux x64
|
|
on:
|
|
push:
|
|
branches: [ "gh-build" ]
|
|
|
|
jobs:
|
|
build-and-upload:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: 检出代码
|
|
uses: actions/checkout@v6
|
|
|
|
- name: 构建
|
|
run: |
|
|
make build-in-ci-release-mode
|
|
mv chsrc-ci-release chsrc-x64-linux
|
|
|
|
- name: List files
|
|
run: ls *-linux
|
|
|
|
- name: 上传至 'pre' release
|
|
uses: softprops/action-gh-release@v2
|
|
# if: startsWith(github.ref, 'refs/tags/')
|
|
with:
|
|
tag_name: pre
|
|
files: |
|
|
chsrc-x64-linux
|