generate #80957
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: generate | |
| on: | |
| push: | |
| branches: [ staging ] | |
| schedule: | |
| # Run once every hour | |
| - cron: '*/10 * * * *' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: 8.0.409 | |
| - name: Setup | |
| env: | |
| DEPLOY_KEY_PASSWORD: ${{ secrets.DEPLOY_KEY_PASSWORD }} | |
| run: | | |
| gpg --quiet --batch --yes --decrypt --passphrase="${DEPLOY_KEY_PASSWORD}" --output deploy-key deploy-key.gpg | |
| chmod 600 deploy-key | |
| - name: Build | |
| run: | | |
| eval `ssh-agent -s` | |
| ssh-add deploy-key | |
| ./build.sh ci | |
| env: | |
| IKSBOT_KEY: ${{ secrets.IKSBOT_KEY }} |