This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
name: CI Pipeline
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🔍 Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🔧 Test Codes
|
||||
run: |
|
||||
set -e # 任何命令失败都停止执行
|
||||
|
||||
name: CI Pipeline
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🔍 Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🔧 Test Codes
|
||||
run: |
|
||||
set -e # 任何命令失败都停止执行
|
||||
|
||||
echo "Building repository code ${{ gitea.repository }}:${{ gitea.ref }}."
|
||||
Reference in New Issue
Block a user