This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
Update README.md with deprecation notice #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: crosscompiling | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get latest Docker image | |
run: docker pull pi4j/pi4j-builder:1.4 | |
- name: Cross-compile in Docker | |
run: docker run --user "$(id -u):$(id -g)" --rm --volume $(pwd):/build pi4j/pi4j-builder:1.4 | |
- name: Make staging directory | |
run: mkdir staging | |
- name: Copy distribution to staging | |
run: | | |
cp -r pi4j-distribution/target/*.deb staging | |
cp -r pi4j-distribution/target/*.zip staging | |
- name: Upload | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pi4j-v1-dist | |
path: staging |