Squashed 'libs/protobuf/' content from commit fcd3b9a85
git-subtree-dir: libs/protobuf git-subtree-split: fcd3b9a85ef36e46643dc30176cea1a7ad62e02b
This commit is contained in:
29
.github/workflows/generated_cmake.yml
vendored
Normal file
29
.github/workflows/generated_cmake.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Generate CMake File Lists
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- '[0-9]+.x'
|
||||
# The 21.x branch predates support for auto-generation of the CMake file
|
||||
# lists, so we make sure to exclude it.
|
||||
- '!21.x'
|
||||
|
||||
jobs:
|
||||
cmake:
|
||||
if: github.repository == 'protocolbuffers/protobuf'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false # Don't cancel all jobs if one fails.
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
# Note: this token has an expiration date, so if the workflow starts
|
||||
# failing then you may need to generate a fresh token.
|
||||
token: ${{ secrets.BOT_ACCESS_TOKEN }}
|
||||
- name: Configure name and email address in Git
|
||||
run: cd ${{ github.workspace }} && git config user.name "Protobuf Team Bot" && git config user.email "protobuf-team-bot@google.com"
|
||||
- name: Commit and push update
|
||||
run: cd ${{ github.workspace }} && ./cmake/push_auto_update.sh
|
||||
Reference in New Issue
Block a user