Skip to content

Commit

Permalink
move template code to src
Browse files Browse the repository at this point in the history
  • Loading branch information
ocfox committed Mar 23, 2023
1 parent 13073b3 commit f15951c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ jobs:
wget https://github.com/eunomia-bpf/eunomia-bpf/releases/latest/download/ecc && chmod +x ./ecc
- name: build package
run: ./ecc template.bpf.c template.h
run: |
cd src
../ecc template.bpf.c template.h
- name: Publish
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: softprops/action-gh-release@v1
with:
files: package.json
files: src/package.json
prerelease: false
tag_name: ${{ steps.set_version.outputs.result }}
generate_release_notes: true
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
build:
ecc template.bpf.c template.h
cd src && ecc template.bpf.c template.h

clean:
rm *.json
rm *.o
cd src && rm *.json *.o
File renamed without changes.
File renamed without changes.

0 comments on commit f15951c

Please sign in to comment.