24 lines
506 B
YAML
24 lines
506 B
YAML
name: Gitea Actions 示例
|
||
|
||
on:
|
||
push:
|
||
branches:
|
||
# 在master分支上,有push时运行
|
||
- master
|
||
|
||
jobs:
|
||
example:
|
||
runs-on: ubuntu-latest
|
||
|
||
steps:
|
||
- name: 检出代码
|
||
uses: https://git.ra3battle.cn/actions/checkout@v4
|
||
|
||
- name: 输出README内容
|
||
run: cat README.md
|
||
|
||
- name: 上传Artifacts
|
||
uses: https://git.ra3battle.cn/actions/upload-artifact@v3
|
||
with:
|
||
name: example-readme
|
||
path: README.md |