Skip to content

Commit f15951c

Browse files
committed
move template code to src
1 parent 13073b3 commit f15951c

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ jobs:
5555
wget https://github.com/eunomia-bpf/eunomia-bpf/releases/latest/download/ecc && chmod +x ./ecc
5656
5757
- name: build package
58-
run: ./ecc template.bpf.c template.h
58+
run: |
59+
cd src
60+
../ecc template.bpf.c template.h
5961
6062
- name: Publish
6163
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
6264
uses: softprops/action-gh-release@v1
6365
with:
64-
files: package.json
66+
files: src/package.json
6567
prerelease: false
6668
tag_name: ${{ steps.set_version.outputs.result }}
6769
generate_release_notes: true

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
build:
2-
ecc template.bpf.c template.h
2+
cd src && ecc template.bpf.c template.h
33

44
clean:
5-
rm *.json
6-
rm *.o
5+
cd src && rm *.json *.o
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)