Skip to content

Commit bde3e68

Browse files
authored
Simplify gh-aw installation in CI workflow
1 parent 08d8331 commit bde3e68

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
1414
- name: Install gh-aw
15-
run: |
16-
curl -fsSL https://raw.githubusercontent.com/githubnext/gh-aw/refs/heads/main/install-gh-aw.sh -o /tmp/install-gh-aw.sh
17-
bash /tmp/install-gh-aw.sh
15+
run: gh extension install githubnext/gh-aw
16+
env:
17+
GH_TOKEN: ${{ secrets.GITHUBT_TOKEN }}
1818
- name: Verify gh-aw installation
1919
run: ./gh-aw --version
20+
env:
21+
GH_TOKEN: ${{ secrets.GITHUBT_TOKEN }}
2022
- name: Compile workflows
2123
run: ./gh-aw compile --workflows-dir workflows --verbose
24+
env:
25+
GH_TOKEN: ${{ secrets.GITHUBT_TOKEN }}

0 commit comments

Comments
 (0)