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
425c043e83
commit
faed1e838e
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@ -29,6 +29,12 @@ jobs:
|
||||
with:
|
||||
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
|
||||
- name: Build img
|
||||
id: build
|
||||
@ -37,12 +43,17 @@ jobs:
|
||||
echo "::set-output name=VERSION::$VERSION"
|
||||
./compile-lkm.sh
|
||||
./img-gen.sh
|
||||
mkdir /output
|
||||
cp "arpl-${VERSION}.img.zip" /output
|
||||
|
||||
# Upload img
|
||||
- name: Upload
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Upload arpl-{{ steps.bulid.outputs.VERSION }}.img.zip
|
||||
path: /output
|
||||
name: Upload arpl.img
|
||||
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