Release #471
This file contains hidden or 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: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| update: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Update | |
| run: make update | |
| - name: Import GPG key | |
| uses: crazy-max/ghaction-import-gpg@v6 | |
| with: | |
| git_config_global: true | |
| git_commit_gpgsign: true | |
| git_user_signingkey: true | |
| gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
| trust_level: ultimate | |
| - name: Add, Commit & Push | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| with: | |
| commit_message: "feat: update knowledge base index" | |
| commit_user_email: [email protected] | |
| commit_user_name: "Ivan Gabriele (Github)" | |
| - name: Create Release Tag | |
| id: tag | |
| run: echo "RELEASE_TAG=v$(date +'%Y.%m.%d')" >> $GITHUB_OUTPUT | |
| - name: Release | |
| uses: ncipollo/release-action@v1 | |
| with: | |
| allowUpdates: true | |
| artifacts: "*.tar.gz" | |
| token: ${{ secrets.GH_TOKEN }} | |
| tag: ${{ steps.tag.outputs.RELEASE_TAG }} |