Skip to content

Commit

Permalink
Use apt packages like private-runner
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Rockwood <[email protected]>
  • Loading branch information
benr committed Feb 21, 2024
1 parent d22e527 commit 819474d
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,11 @@ jobs:
go-version: ">=${{ env.golang-version }}"
cache: false

## Install Protoc, for Github Hosted Runners only
- name: Install Protoc
id: protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

## Install Build Tools, for Github Hosted Runners only
- name: Install Build Tools
run: |
sudo apt-get update
sudo apt-get install -y xz-utils make
sudo apt-get install -y xz-utils make protobuf-compiler curl zip unzip jq
- name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v2'
Expand All @@ -138,8 +131,6 @@ jobs:
run: |
make providers/proto
go build -o lr ./providers-sdk/v1/lr/cli/main.go
env:
PATH: ${{ env.PATH }}:${{ steps.protoc.outputs.path }}
- name: 'Build Provider'
run: |
Expand Down

0 comments on commit 819474d

Please sign in to comment.