Skip to content

Commit

Permalink
update driver ko CI
Browse files Browse the repository at this point in the history
  • Loading branch information
张佳程 committed Nov 29, 2022
1 parent f787e05 commit 8ebe56d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Elkeid_driver_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1548,7 +1548,7 @@ jobs:
- name: Prepare artifact 2-3 log
run: mv -f ~/all_elkeid_drivers/*/*.log elkeid_driver/log || true
- name: Pack artifact
run: tar -cJf elkeid_driver_ko_${{github.ref}}.tar.xz elkeid_driver/ko
run: tar -cJf elkeid_driver_ko.tar.xz elkeid_driver/ko
- name: Pack log
run: zip -r elkeid_driver_log.zip elkeid_driver/log
- name: Upload log
Expand All @@ -1568,8 +1568,8 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
asset_content_type: application/x-tar
asset_name: elkeid_driver_ko_${{github.ref}}.tar.xz
asset_path: ./elkeid_driver_ko_${{github.ref}}.tar.xz
asset_name: elkeid_driver_ko.tar.xz
asset_path: ./elkeid_driver_ko.tar.xz
upload_url: ${{steps.create_release.outputs.upload_url}}
needs:
- build_debian9_x86_64
Expand Down
6 changes: 3 additions & 3 deletions driver/build_script/gen_ci_from_dockerfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def gen_job(vminfo):

OrderedDict({
"name": "Pack artifact",
"run": "tar -cJf elkeid_driver_ko_${{github.ref}}.tar.xz elkeid_driver/ko"
"run": "tar -cJf elkeid_driver_ko.tar.xz elkeid_driver/ko"
}),

OrderedDict({
Expand Down Expand Up @@ -212,8 +212,8 @@ def gen_job(vminfo):
},
"with": {
"upload_url": "${{steps.create_release.outputs.upload_url}}",
"asset_path": "./elkeid_driver_ko_${{github.ref}}.tar.xz",
"asset_name": "elkeid_driver_ko_${{github.ref}}.tar.xz",
"asset_path": "./elkeid_driver_ko.tar.xz",
"asset_name": "elkeid_driver_ko.tar.xz",
"asset_content_type": "application/x-tar"
},
})
Expand Down

0 comments on commit 8ebe56d

Please sign in to comment.