2023-07-18 15:42:31 +02:00
|
|
|
on: [push, pull_request, workflow_dispatch]
|
|
|
|
|
|
|
|
name: Test
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
2023-07-18 16:29:40 +02:00
|
|
|
image: ghcr.io/bcdevices/zephyr:latest
|
2023-07-18 15:42:31 +02:00
|
|
|
name: Build
|
|
|
|
steps:
|
|
|
|
- name: Install Dependencies
|
|
|
|
run: |
|
|
|
|
apt-get update;
|
2023-07-18 16:03:57 +02:00
|
|
|
apt-get upgrade --yes
|
2023-07-18 16:05:57 +02:00
|
|
|
apt-get install --yes --no-install-recommends \
|
|
|
|
nodejs
|
2023-07-18 15:42:31 +02:00
|
|
|
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Create some File
|
|
|
|
run: echo "lalala" > test.txt
|
|
|
|
|
|
|
|
- name: Upload Artifact
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
path: test.txt
|
2023-07-18 16:04:44 +02:00
|
|
|
name: test.txt
|
2023-07-18 15:42:31 +02:00
|
|
|
if-no-files-found: ignore
|