Just Call Me Koko 3 лет назад
Родитель
Сommit
0729a2368b
1 измененных файлов с 34 добавлено и 0 удалено
  1. 34 0
      .github/workflows/build_push.yml

+ 34 - 0
.github/workflows/build_push.yml

@@ -0,0 +1,34 @@
+name: Build and Push
+
+on:
+  push:
+    branches: [ "master" ]
+  pull_request:
+    branches: [ "master" ]
+
+  workflow_dispatch:
+
+jobs:
+  # This workflow contains a single job called "build"
+  build:
+    # The type of runner that the job will run on
+    runs-on: ubuntu-latest
+
+    # Steps represent a sequence of tasks that will be executed as part of the job
+    steps:
+      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
+      - uses: actions/checkout@v3
+
+      # Runs a single command using the runners shell
+      - name: Run a one-line script
+        run: echo Hello, world!
+
+      # Runs a set of commands using the runners shell
+      - name: Run a multi-line script
+        run: |
+          echo Add other actions to build,
+          echo test, and deploy your project.
+          
+      # Setup Test compile for Arduino
+      - name: Test compile for Arduino
+        uses: ArminJo/arduino-test-compile@v3.0.0