Skip to content

Commit 5e29844

Browse files
committed
fix: add working-directory
1 parent 88ad461 commit 5e29844

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/update_advisory.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ jobs:
2525
go-version: '1.21'
2626

2727
- name: Build Go application
28-
run: go build -o ./src/update-advisory ./src/main.go
29-
28+
run: go build -o update-advisory ./src/main.go
29+
working-directory: ./src
3030
- name: Run Go application
31-
run: ./src/update-advisory
32-
31+
run: update-advisory
32+
working-directory: ./src
3333
- name: Remove executable
34-
run: rm ./src/update-advisory
34+
run: rm update-advisory
35+
working-directory: ./src
3536

3637
- name: Commit changes
3738
run: |

0 commit comments

Comments
 (0)