Testing actions

This commit is contained in:
Fabio Belavenuto 2022-07-02 14:26:01 -03:00
parent 999ebc4cdb
commit 48035c51c4
2 changed files with 16 additions and 5 deletions

View File

@ -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