From bdda97471de2288018c118b68ea0324e2ebac070 Mon Sep 17 00:00:00 2001 From: ettingshausen Date: Mon, 6 Nov 2023 21:39:30 +0800 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..d9fc91d --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,16 @@ +name: Run Custom Script +on: + push: + branches: + - main # 你可以根据需要更改分支名称 +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Run custom script + run: | + apt-get update && apt-get -y install libxml2-utils + chmod +x run.sh + ./run.sh