mirror of
https://github.com/fbelavenuto/arpl.git
synced 2025-12-24 06:42:06 +08:00
Testing actions
This commit is contained in:
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
|
||||
|
||||
Submodule redpill-lkm updated: f1c8ed508c...52e12711b6
Reference in New Issue
Block a user