소스 검색

fix release workflows

Thomas Buck 4 달 전
부모
커밋
03e6dc1f7b
2개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 4
    1
      .github/workflows/cmake.yml
  2. 3
    0
      .github/workflows/scad.yml

+ 4
- 1
.github/workflows/cmake.yml 파일 보기

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

+ 3
- 0
.github/workflows/scad.yml 파일 보기

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

Loading…
취소
저장