Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
23 lines
586 B
YAML
23 lines
586 B
YAML
name: 'build-test'
|
|
on: # rebuild any PRs and main branch changes
|
|
push:
|
|
branches:
|
|
- main
|
|
- 'releases/*'
|
|
|
|
jobs:
|
|
test: # make sure the action works on a clean machine without building
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: josStorer/get-current-time@v2.1.0
|
|
id: current-time
|
|
with:
|
|
format: YYYYMMDD-HH
|
|
utcOffset: "+08:00"
|
|
- uses: ./
|
|
with:
|
|
sendkey: ${{ secrets.sendkey }}
|
|
title: "server酱Action更新啦 ${{ steps.current-time.outputs.formattedTime }}"
|
|
|