Skip to content

Commit 1f181b3

Browse files
authored
Simplify gh-aw installation in CI workflow (#59)
* Simplify gh-aw installation in CI workflow * Fix GitHub token reference in CI workflow * Update ci.yml
1 parent 08d8331 commit 1f181b3

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 5 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.GITHUB_TOKEN }}
1818
- name: Verify gh-aw installation
19-
run: ./gh-aw --version
19+
run: gh aw --version
20+
env:
21+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2022
- name: Compile workflows
21-
run: ./gh-aw compile --workflows-dir workflows --verbose
23+
run: gh aw compile --workflows-dir workflows --verbose
24+
env:
25+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)