Skip to content

Build a package for the reMarkable using toltecmk

License

Notifications You must be signed in to change notification settings

toltec-dev/build-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build-action

Build a toltec package recipe with toltecmk.

Usage

See action.yml for the possible inputs.

Note: Currently this only supports ubuntu-20.04

Package Recipe

pkgname=my-package
pkgdesc="An example package"
url=https://example.com
pkgver=0.0.1-1
timestamp=2020-10-09T18:15Z
section=util
maintainer="My Name <[email protected]>"
license=MIT

image=toolchain:v3.1
source=(src.tar.gz)
sha256sums=(SKIP)

package() {
    install -D -m 755 -t "$pkgdir"/opt/bin \
      "$srcdir"/my-program
}

Workflow

jobs:
  build:
    name: Build package
    runs-on: ubuntu-20.04
    steps:
      - name: Checkout the Git repository
        uses: actions/checkout@v4
      - name: Create source tarball
        run: tar -czvf src.tar.gz src
      - name: Build package
        uses: toltec-dev/build-action@v1
      - name: Save packages
        uses: actions/upload-artifact@v3
        with:
          name: packages
          path: dist/**/*.ipk