Skip to content

Commit

Permalink
fix release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
xythobuz committed Jan 2, 2024
1 parent bbc2c45 commit 03e6dc1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Install dependencies
run: sudo apt-get install -y cxxtest build-essential gcc-arm-none-eabi mtools zip
Expand Down Expand Up @@ -66,7 +69,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
run: |
cd ${{github.workspace}}/repo/build
zip -r picowota_gadget.uf2 gadget.elf firmware
zip -r firmware picowota_gadget.uf2 gadget.elf
- name: Upload release files
if: startsWith(github.ref, 'refs/tags/')
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/scad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
render:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 03e6dc1

Please sign in to comment.