From fb76c236947dd29966d1a038441c574a9d9c5a62 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Thu, 18 Aug 2022 23:00:09 +0200 Subject: [PATCH] Let's try our autobuild Signed-off-by: Pol Henarejos --- .github/workflows/codeql.yml | 10 +++++----- workflows/autobuild.sh | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100755 workflows/autobuild.sh diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 7ed5369..77c6774 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -55,8 +55,8 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 + # - name: Autobuild + # uses: github/codeql-action/autobuild@v2 # â„šī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -64,9 +64,9 @@ jobs: # If the Autobuild fails above, remove it and uncomment the following three lines. # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh + - run: | + echo "Run, Build Application using script" + ./workflows/autobuild.sh - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 diff --git a/workflows/autobuild.sh b/workflows/autobuild.sh new file mode 100755 index 0000000..bcd8c1f --- /dev/null +++ b/workflows/autobuild.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +bash <(curl -s https://raw.githubusercontent.com/raspberrypi/pico-setup/master/pico_setup.sh)