Skip to content

Commit

Permalink
Updated build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Dec 15, 2022
1 parent edcedc9 commit 43a20c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,25 @@ on:
pull_request:
branches: [ main ]
schedule:
# Weekly build
- cron: '45 15 * * 0'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: true

- name: build
run: docker run --rm -v ${PWD}:/module bitcraze/builder bash -c "./tools/build/build"

- name: Upload Build Artifact
uses: actions/upload-artifact@v2.1.4
uses: actions/upload-artifact@v3
with:
name: ${{ github.sha }}
path: build/aideck_esp.bin
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Release URL on file
run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt
- name: Save Release URL File For Uploading Files
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: release_url
path: release_url.txt
Expand All @@ -35,15 +35,15 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: true

- name: Build
run: docker run --rm -v ${PWD}:/module bitcraze/builder bash -c "./tools/build/build"

- name: Load Release URL File from release job
uses: actions/download-artifact@v1
uses: actions/download-artifact@v3
with:
name: release_url

Expand Down

0 comments on commit 43a20c7

Please sign in to comment.