mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 23:39:54 +07:00
build: update 2
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
bc43cdaeb7
commit
fe642ebec2
12
.github/workflows/autobuild.yml
vendored
12
.github/workflows/autobuild.yml
vendored
@ -5,15 +5,17 @@
|
|||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
|
|
||||||
name: Build Arc Development
|
name: Build Arc Image Development
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
runs:
|
runs:
|
||||||
description: "runs-on (ubuntu-latest / self-hosted)"
|
description: "runs-on (ubuntu-latest / self-hosted)"
|
||||||
default: "ubuntu-latest"
|
type: choice
|
||||||
type: string
|
options:
|
||||||
|
- ubuntu-latest
|
||||||
|
- self-hosted
|
||||||
version:
|
version:
|
||||||
description: "version (1.0.0)"
|
description: "version (1.0.0)"
|
||||||
required: true
|
required: true
|
||||||
@ -117,8 +119,8 @@ jobs:
|
|||||||
repackInitrd "brx/initrd-arc" "files/initrd" "files/p3/initrd-arc"
|
repackInitrd "brx/initrd-arc" "files/initrd" "files/p3/initrd-arc"
|
||||||
|
|
||||||
echo "Copying files"
|
echo "Copying files"
|
||||||
sudo cp -Rf "files/p1/"* "/tmp/p1"
|
sudo cp -rf "files/p1/"* "/tmp/p1"
|
||||||
sudo cp -Rf "files/p3/"* "/tmp/p3"
|
sudo cp -rf "files/p3/"* "/tmp/p3"
|
||||||
sync
|
sync
|
||||||
|
|
||||||
echo "Unmount image file"
|
echo "Unmount image file"
|
||||||
|
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -12,8 +12,10 @@ on:
|
|||||||
inputs:
|
inputs:
|
||||||
runs:
|
runs:
|
||||||
description: "runs-on (ubuntu-latest / self-hosted)"
|
description: "runs-on (ubuntu-latest / self-hosted)"
|
||||||
default: "ubuntu-latest"
|
type: choice
|
||||||
type: string
|
options:
|
||||||
|
- ubuntu-latest
|
||||||
|
- self-hosted
|
||||||
version:
|
version:
|
||||||
description: "version (1.0.0)"
|
description: "version (1.0.0)"
|
||||||
required: true
|
required: true
|
||||||
@ -51,13 +53,12 @@ jobs:
|
|||||||
uses: actions/checkout@main
|
uses: actions/checkout@main
|
||||||
|
|
||||||
- name: Delete releases and workflows runs
|
- name: Delete releases and workflows runs
|
||||||
if: inputs.clean == true
|
if: ${{ inputs.clean }} == 'true'
|
||||||
uses: ophub/delete-releases-workflows@main
|
uses: ophub/delete-releases-workflows@main
|
||||||
with:
|
with:
|
||||||
delete_releases: true
|
delete_releases: true
|
||||||
releases_keep_latest: 1
|
releases_keep_latest: 1
|
||||||
delete_workflows: true
|
delete_workflows: false
|
||||||
workflows_keep_day: 1
|
|
||||||
delete_tags: true
|
delete_tags: true
|
||||||
gh_token: ${{ secrets.GITHUB_TOKEN }}
|
gh_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -144,8 +145,8 @@ jobs:
|
|||||||
repackInitrd "brx/initrd-arc" "files/initrd" "files/p3/initrd-arc"
|
repackInitrd "brx/initrd-arc" "files/initrd" "files/p3/initrd-arc"
|
||||||
|
|
||||||
echo "Copying files"
|
echo "Copying files"
|
||||||
sudo cp -Rf "files/p1/"* "/tmp/p1"
|
sudo cp -rf "files/p1/"* "/tmp/p1"
|
||||||
sudo cp -Rf "files/p3/"* "/tmp/p3"
|
sudo cp -rf "files/p3/"* "/tmp/p3"
|
||||||
sync
|
sync
|
||||||
|
|
||||||
echo "Unmount image file"
|
echo "Unmount image file"
|
||||||
|
@ -50,8 +50,8 @@ cp -f "brx/bzImage-arc" "files/p3/bzImage-arc"
|
|||||||
repackInitrd "brx/initrd-arc" "files/initrd" "files/p3/initrd-arc"
|
repackInitrd "brx/initrd-arc" "files/initrd" "files/p3/initrd-arc"
|
||||||
|
|
||||||
echo "Copying files"
|
echo "Copying files"
|
||||||
sudo cp -Rf "files/p1/"* "/tmp/p1"
|
sudo cp -rf "files/p1/"* "/tmp/p1"
|
||||||
sudo cp -Rf "files/p3/"* "/tmp/p3"
|
sudo cp -rf "files/p3/"* "/tmp/p3"
|
||||||
sync
|
sync
|
||||||
|
|
||||||
echo "Unmount image file"
|
echo "Unmount image file"
|
||||||
|
@ -50,8 +50,8 @@ cp -f "brs/bzImage-arc" "files/p3/bzImage-arc"
|
|||||||
repackInitrd "brs/initrd-arc" "files/initrd" "files/p3/initrd-arc"
|
repackInitrd "brs/initrd-arc" "files/initrd" "files/p3/initrd-arc"
|
||||||
|
|
||||||
echo "Copying files"
|
echo "Copying files"
|
||||||
sudo cp -Rf "files/p1/"* "/tmp/p1"
|
sudo cp -rf "files/p1/"* "/tmp/p1"
|
||||||
sudo cp -Rf "files/p3/"* "/tmp/p3"
|
sudo cp -rf "files/p3/"* "/tmp/p3"
|
||||||
sync
|
sync
|
||||||
|
|
||||||
echo "Unmount image file"
|
echo "Unmount image file"
|
||||||
|
Loading…
Reference in New Issue
Block a user