diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0435108..8ea6ef9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ on: jobs: test-basic: name: Test basic - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout the Git repository uses: actions/checkout@v4 @@ -26,7 +26,7 @@ jobs: [ -f dist/rm2/bar_0.0.0-1_rmall.ipk ] test-path: name: Test path - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout the Git repository uses: actions/checkout@v4 @@ -48,7 +48,7 @@ jobs: [ -f dist/rm2/bar_0.0.0-1_rmall.ipk ] test-vebose: name: Test verbose - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout the Git repository uses: actions/checkout@v4 @@ -65,7 +65,7 @@ jobs: [ -f dist/rm2/bar_0.0.0-1_rmall.ipk ] test-arch: name: Test arch - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout the Git repository uses: actions/checkout@v4 @@ -82,7 +82,7 @@ jobs: ! [ -f dist/rm2/bar_0.0.0-1_rmall.ipk ] test-package: name: Test package - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout the Git repository uses: actions/checkout@v4 @@ -99,7 +99,7 @@ jobs: ! [ -f dist/rm2/bar_0.0.0-1_rmall.ipk ] test-warnings: name: Test warnings - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout the Git repository uses: actions/checkout@v4 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c0f64a8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +dist/ +build/ diff --git a/package b/package index a6dd76c..7c13100 100644 --- a/package +++ b/package @@ -4,7 +4,6 @@ archs=(rm1 rm2 rmall) pkgnames=(foo bar) -pkgdesc="Example package" url=https://toltec-dev.org/ pkgver=0.0.0-1 timestamp=2023-12-23T20:46:51Z @@ -15,12 +14,20 @@ image=base:v3.1 source=() sha256sums=() -build() { true } +build() { + true +} foo() { - package() { true } + pkgdesc="Foo" + package() { + true + } } bar() { - package() { true } + pkgdesc="Bar" + package() { + true + } }