-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci][code-gen.yaml] Fix run failed (#1625)
Need more configurations to make it work.
- Loading branch information
1 parent
ba61c68
commit a5c2f23
Showing
1 changed file
with
13 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,9 +23,20 @@ jobs: | |
with: | ||
ref: ${{ inputs.target_branch }} | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v4 | ||
- name: enable corepack | ||
run: corepack enable | ||
- name: set node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
node-version: 'lts/*' | ||
- name: Reconfigure git to use HTTP authentication | ||
run: | | ||
git config --global url."https://${{ secrets.GH_TOKEN }}@github.com/".insteadOf ssh://[email protected]/ | ||
- name: Install LLVM and Clang | ||
uses: KyleMayes/install-llvm-action@v1 | ||
with: | ||
version: "15.0.6" # Need ping version to 15.x | ||
directory: ${{ runner.temp }}/llvm | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
|