Skip to content

Commit cd2bfd3

Browse files
committed
fix binary path
1 parent 851c54a commit cd2bfd3

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/assertion.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Generate and Sign Assertion Document
33

44
on:
55
push:
6-
branches: [ "add-dependency-assertion" ]
6+
branches: [ "main" ]
77
pull_request:
88
branches: [ "main" ]
99
workflow_dispatch:
@@ -28,7 +28,6 @@ jobs:
2828
agent_binary: ${{ steps.check_binary.outputs.agent_binary }}
2929
goversionm: ${{ steps.godeps.outputs.goversionm }}
3030
assertion_document: ${{ steps.assertiondoc.outputs.assertion-document-path }}
31-
signed_assertion_document: ${{ steps.sign.outputs.signed-assertion-document-path }}
3231

3332
steps:
3433
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -43,17 +42,13 @@ jobs:
4342
id: build
4443
run: |
4544
make build
46-
47-
- name: Check Binary
48-
id: check_binary
49-
run: |
5045
echo "agent_binary=$(find build -type f -name "nginx-agent" | head -n 1)" >> $GITHUB_OUTPUT
5146
cat $GITHUB_OUTPUT
5247
5348
- name: Check dependencies
5449
id: godeps
5550
run: |
56-
go version -m ${{ steps.check_binary.outputs.ptd_binary_path }} > goversionm_${{ github.run_id }}_${{ github.run_number }}.txt
51+
go version -m ${{ steps.check_binary.outputs.agent_binary }} > goversionm_${{ github.run_id }}_${{ github.run_number }}.txt
5752
echo "goversionm=$(find -type f -name "goversionm*.txt" | head -n 1)" >> $GITHUB_OUTPUT
5853
cat $GITHUB_OUTPUT
5954

0 commit comments

Comments
 (0)