Simplify gh-aw installation in CI workflow #65
Workflow file for this run
This file contains hidden or 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
| name: Install gh-aw | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| install-gh-aw: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install gh-aw | |
| run: gh extension install githubnext/gh-aw | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Verify gh-aw installation | |
| run: ./gh-aw --version | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Compile workflows | |
| run: ./gh-aw compile --workflows-dir workflows --verbose | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |