Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
clbx committed Jul 25, 2024
1 parent c0ce184 commit f6b00e0
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ jobs:
- name: Check out Code
uses: actions/[email protected]

- name: cd into src
run: cd src

- name: Build
run: go build -v -ldflags "-X main.Version=${{ inputs.version }}" -o kubectl-browse-pvc .
run: |
cd src
go build -v -ldflags "-X main.Version=${{ inputs.version }}" -o kubectl-browse-pvc .
- name: Fix permissions
run: chmod +x ./kubectl-browse-pvc
Expand All @@ -47,11 +46,10 @@ jobs:
- name: Check out Code
uses: actions/[email protected]

- name: cd into src
run: cd src

- name: Build
run: go build -v -ldflags "-X main.Version=${{ inputs.version }}" -o kubectl-browse-pvc .
run: |
cd src
go build -v -ldflags "-X main.Version=${{ inputs.version }}" -o kubectl-browse-pvc .
- name: Fix permissions
run: chmod +x ./kubectl-browse-pvc
Expand All @@ -75,11 +73,10 @@ jobs:
- name: Check out Code
uses: actions/[email protected]

- name: cd into src
run: cd src

- name: Build
run: go build -v -ldflags "-X main.Version=${GITHUB_SHA::7}" -o kubectl-browse-pvc .
run: |
cd src
go build -v -ldflags "-X main.Version=${{ inputs.version }}" -o kubectl-browse-pvc .
- name: Fix permissions
run: chmod +x ./kubectl-browse-pvc
Expand Down

0 comments on commit f6b00e0

Please sign in to comment.