Skip to content

Commit

Permalink
[ci][code-gen.yaml] Fix run failed (#1625)
Browse files Browse the repository at this point in the history
Need more configurations to make it work.
  • Loading branch information
littleGnAl committed Mar 18, 2024
1 parent c720d26 commit d13024c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/code-gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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://git@github.com/
- 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'
Expand Down

0 comments on commit d13024c

Please sign in to comment.