Kaynağa Gözat

fix release workflows

Thomas Buck 11 ay önce
ebeveyn
işleme
03e6dc1f7b
2 değiştirilmiş dosya ile 7 ekleme ve 1 silme
  1. 4
    1
      .github/workflows/cmake.yml
  2. 3
    0
      .github/workflows/scad.yml

+ 4
- 1
.github/workflows/cmake.yml Dosyayı Görüntüle

@@ -12,6 +12,9 @@ jobs:
12 12
   build:
13 13
     runs-on: ubuntu-latest
14 14
 
15
+    permissions:
16
+      contents: write
17
+
15 18
     steps:
16 19
       - name: Install dependencies
17 20
         run: sudo apt-get install -y cxxtest build-essential gcc-arm-none-eabi mtools zip
@@ -66,7 +69,7 @@ jobs:
66 69
         if: startsWith(github.ref, 'refs/tags/')
67 70
         run: |
68 71
           cd ${{github.workspace}}/repo/build
69
-          zip -r picowota_gadget.uf2 gadget.elf firmware
72
+          zip -r firmware picowota_gadget.uf2 gadget.elf
70 73
 
71 74
       - name: Upload release files
72 75
         if: startsWith(github.ref, 'refs/tags/')

+ 3
- 0
.github/workflows/scad.yml Dosyayı Görüntüle

@@ -7,6 +7,9 @@ jobs:
7 7
   render:
8 8
     runs-on: ubuntu-latest
9 9
 
10
+    permissions:
11
+      contents: write
12
+
10 13
     steps:
11 14
       - name: Checkout repo
12 15
         uses: actions/checkout@v4

Loading…
İptal
Kaydet