Skip to content

Commit

Permalink
ci: use token to install libextism
Browse files Browse the repository at this point in the history
  • Loading branch information
G4Vi committed Aug 22, 2024
1 parent 7cb3d48 commit c06b28c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/actions/libextism/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ on: [workflow_call]

name: libextism

inputs:
token:
description: 'A Github PAT'
required: true

runs:
using: composite
steps:
Expand All @@ -12,4 +17,4 @@ runs:
- uses: ./.extism-cli/.github/actions/extism-cli
- name: Install
shell: bash
run: sudo extism lib install --version git
run: sudo extism lib install --version git --github-token "${{ inputs.token }}"
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
with:
path: go-pdk
- uses: ./go-pdk/.github/actions/libextism

with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: cp go-pdk/go.sum . # Needed to get setup-go to work

- name: Install Go
Expand Down

0 comments on commit c06b28c

Please sign in to comment.