Skip to content

Update zipper.yml

Update zipper.yml #16

Workflow file for this run

name: Zipper
on:
push:
branches: ["master"]
jobs:
zip:
permissions:
contents: write # for git push
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: run zipper.sh
run: |
/bin/bash ./zipper.sh
if [ -n "$(git status --porcelain)" ]; then
git config --global user.name "Github Actions"
git config --global user.email "actions@github.com"
git add RIC.zip
git commit --allow-empty -m "自动更新RIC.zip"
git push
fi