.github/workflows/bump.yml #294
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
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
bump: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install packages | |
run: sudo apt-get update && | |
sudo apt-get install -y libxml2-utils | |
- name: Configure git | |
run: git config --global user.email [email protected] && | |
git config --global user.name "dotnet-s390x bot" | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.PAT }} | |
- name: Bump | |
run: ./dotnet-bump | |
- name: Push | |
run: git push origin $(git describe --exact-match --tags) |