This action gets the latest version of a package from apt. It requires the name of the package to check and the URL of the package list to check against.
Required The package name.
Required The URL of the package list.
The latest version of the package.
- name: "Lookup libcamera0 version"
id: libcamera0_version
uses: OctoPrint/actions/latest-apt-version@main
with:
package: libcamera0
url: http://archive.raspberrypi.org/debian/dists/bullseye/main/binary-armhf/Packages
export INPUT_PACKAGE=libcamera0
export INPUT_URL=http://archive.raspberrypi.org/debian/dists/bullseye/main/binary-armhf/Packages
node src/index.js
npm run build