mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Testing actions
This commit is contained in:
parent
999ebc4cdb
commit
48035c51c4
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@ -29,6 +29,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
|
# Install missing buildroot dependency
|
||||||
|
- name: Install packages
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y libelf-dev
|
||||||
|
|
||||||
# Runs a set of commands using the runners shell
|
# Runs a set of commands using the runners shell
|
||||||
- name: Build img
|
- name: Build img
|
||||||
id: build
|
id: build
|
||||||
@ -37,12 +43,17 @@ jobs:
|
|||||||
echo "::set-output name=VERSION::$VERSION"
|
echo "::set-output name=VERSION::$VERSION"
|
||||||
./compile-lkm.sh
|
./compile-lkm.sh
|
||||||
./img-gen.sh
|
./img-gen.sh
|
||||||
mkdir /output
|
|
||||||
cp "arpl-${VERSION}.img.zip" /output
|
|
||||||
|
|
||||||
# Upload img
|
# Upload img
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Upload arpl-{{ steps.bulid.outputs.VERSION }}.img.zip
|
name: Upload arpl.img
|
||||||
path: /output
|
path: arpl.img
|
||||||
|
|
||||||
|
# Publish a release if is a tag
|
||||||
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
with:
|
||||||
|
files: arpl-{{ steps.bulid.outputs.VERSION }}.img.zip
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit f1c8ed508c27e0009d1567efcdae756d288d0e34
|
Subproject commit 52e12711b65c99315c82b7800a787635d03a557a
|
Loading…
x
Reference in New Issue
Block a user