Skip to content

Commit e4b1fbf

Browse files
committed
Try using GOPATH.
1 parent 25c00eb commit e4b1fbf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030
- name: .NET Restore
3131
run: |
3232
STEP_START=$(date +%s)
33-
/home/runner/go/bin/buildevents cmd ${{ github.repository }}:${{ github.run_id }} build build -- dotnet restore
34-
/home/runner/go/bin/buildevents step ${{ github.repository }}:${{ github.run_id }} build $STEP_START build
33+
${{ env.GOPATH }}/bin/buildevents cmd ${{ github.repository }}:${{ github.run_id }} build build -- dotnet restore
34+
${{ env.GOPATH }}/bin/buildevents step ${{ github.repository }}:${{ github.run_id }} build $STEP_START build
3535
- name: .NET Build
3636
run: |
3737
STEP_START=$(date +%s)
38-
/home/runner/go/bin/buildevents cmd ${{ github.repository }}:${{ github.run_id }} restore restore -- dotnet build --configuration Release --no-restore
39-
/home/runner/go/bin/buildevents step ${{ github.repository }}:${{ github.run_id }} restore $STEP_START restore
38+
${{ env.GOPATH }}/bin/buildevents cmd ${{ github.repository }}:${{ github.run_id }} restore restore -- dotnet build --configuration Release --no-restore
39+
${{ env.GOPATH }}/bin/buildevents step ${{ github.repository }}:${{ github.run_id }} restore $STEP_START restore
4040
- name: Finish build
4141
run: |
42-
/home/runner/go/bin/buildevents build ${{ github.repository }}:${{ github.run_id }} $BUILD_START success
42+
${{ env.GOPATH }}/bin/buildevents build ${{ github.repository }}:${{ github.run_id }} $BUILD_START success

0 commit comments

Comments
 (0)