release #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: release | |
"on": | |
workflow_dispatch: | |
schedule: | |
- cron: "0 8 * * 1" | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'rolehippie' | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.BOT_ACCESS_TOKEN }} | |
- name: Semantic release | |
uses: cycjimmy/semantic-release-action@v3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }} | |
with: | |
extra_plugins: | | |
[email protected] | |
- name: Write buildtime | |
run: date >| .github/RELEASEDATE | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: GitHub Actions | |
author_email: [email protected] | |
add: .github/RELEASEDATE | |
message: "docs: automated release update [skip ci]" | |
push: true | |
commit: --signoff | |
... |