Skip to content

feat(ci): 添加初始化Git仓库步骤 #4

feat(ci): 添加初始化Git仓库步骤

feat(ci): 添加初始化Git仓库步骤 #4

Workflow file for this run

name: Auto CI Test Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
debian:
name: Debian 13 Trixie
runs-on: ubuntu-latest
container: docker.io/library/debian:trixie
steps:
- name: Install Dependencies
run: |
apt-get update
apt-get install -y sudo git
- name: Checkout Source
uses: actions/checkout@v3
- name: Init Git Repo
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git init .
git add .
git commit -m "Initial commit" || true
- name: Build Debian Src Package
uses: LingmoOS/[email protected]
with:
build-binary: false
build-source: true
output-dir: ./debian-deb-output
source-dir: ./