mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-09-08 01:13:40 +08:00
misc lil cleanups (#582)
* cleanup apt hook * Move VERSION into rootfs overlay * Use broad rootfs overlay copy
This commit is contained in:
@@ -59,7 +59,7 @@ jobs:
|
||||
- name: Update VERSION
|
||||
if: github.event_name == 'pull_request'
|
||||
run: |
|
||||
echo -n $(cat VERSION)-$(echo ${{ github.event.pull_request.head.sha }} | cut -c1-7) > VERSION
|
||||
echo -n $(cat userspace/root/VERSION)-$(echo ${{ github.event.pull_request.head.sha }} | cut -c1-7) > userspace/root/VERSION
|
||||
|
||||
- name: Build system
|
||||
env:
|
||||
@@ -86,7 +86,7 @@ jobs:
|
||||
if: "contains(env.LAST_COMMIT_MESSAGE, '[upload]')"
|
||||
run: |
|
||||
echo ${{ github.event.number }} > output/ota/PR
|
||||
cp VERSION output/ota
|
||||
cp userspace/root/VERSION output/ota
|
||||
echo "${{ steps.stats.outputs.stats_summary }}" > output/ota/agnos_stats.txt
|
||||
|
||||
- name: Upload artifacts
|
||||
|
||||
Reference in New Issue
Block a user