-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-11569] Enabling wheels to be built using Beam-based submodules workflow #13736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,7 +30,12 @@ jobs: | |
| name: "Cancel duplicate workflow runs" | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738 | ||
| - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we need to checkout before cancelling?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As per this post, we need to get the code for the action (thus checking out with submodules) so that it can be run. |
||
| uses: actions/checkout@v2 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In build_wheels.yml we use checkout@master, why use checkout@v2 here?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree. checkout@v2 is better - GitHub might introduce breaking changes in v3, so it's wise to change it in build_wheels.yml as well.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ah thanks. Done! |
||
| with: | ||
| persist-credentials: false | ||
| submodules: recursive | ||
| - uses: ./.github/actions/cancel-workflow-runs | ||
| name: "Cancel duplicate workflow runs" | ||
| with: | ||
| cancelMode: duplicates | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,9 @@ | ||
| [submodule "website/www/site/themes/docsy"] | ||
| path = website/www/site/themes/docsy | ||
| url = https://github.com/google/docsy.git | ||
| [submodule ".github/actions/cancel-workflow-runs"] | ||
| path = .github/actions/cancel-workflow-runs | ||
| url = https://github.com/potiuk/cancel-workflow-runs | ||
| [submodule ".github/actions/github-push-action"] | ||
| path = .github/actions/github-push-action | ||
| url = https://github.com/ad-m/github-push-action |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to checkout the submodules on the checkout action just above this. Look at the Airflow ci.yml workflow.
(Sorry, on phone else I'd be more precise)