feat: 修改几个action的规范

This commit is contained in:
eryajf 2022-06-01 17:27:52 +08:00
parent 87ba4eb827
commit 1b1c2ef7e3
3 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions # This is a basic workflow to help you get started with Actions
name: CI name: build docker image
# Controls when the action will run. # Controls when the action will run.
on: on:
@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Get current date - name: Get current date
id: date id: date
run: echo "::set-output name=today::$(date +'%Y-%m-%d')" run: echo "::set-output name=today::$(date +'%Y-%m-%d_%H-%M')"
- -
name: Set up QEMU name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1

View File

@ -1,10 +1,10 @@
name: Generate a list of contributors
on: on:
push: push:
branches: branches:
- main - main
name: Generate a list of contributors
jobs: jobs:
contrib-readme-en-job: contrib-readme-en-job:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -1,5 +1,7 @@
on: push
name: Automatic Generation TOC name: Automatic Generation TOC
on: push
jobs: jobs:
generateTOC: generateTOC:
name: TOC Generator name: TOC Generator