mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
fix: permission denied issue with shell script
- add group concurrency - add write permissions
This commit is contained in:
parent
78df34542f
commit
6cc8985413
29
.github/workflows/build_release_bins.yml
vendored
29
.github/workflows/build_release_bins.yml
vendored
@ -1,6 +1,9 @@
|
||||
name: Build and Release the OpenIris bin files
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
branches:
|
||||
- "master"
|
||||
- "main"
|
||||
@ -8,14 +11,24 @@ on:
|
||||
branches:
|
||||
- "master"
|
||||
- "main"
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
target_name: [esp32AIThinker, esp32M5Stack, esp32Cam, esp_eye, wrover, wrovers3]
|
||||
target_build_type: ["", _release] #, _OTA] # OTA is not needed
|
||||
target_name:
|
||||
[esp32AIThinker, esp32M5Stack, esp32Cam, esp_eye, wrover, wrovers3]
|
||||
target_build_type: ["", _release] #, _OTA] # OTA is not needed
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -40,7 +53,7 @@ jobs:
|
||||
# python-version: "3.x"
|
||||
#- name: Install PlatformIO with Pip
|
||||
# run: |
|
||||
#
|
||||
#
|
||||
# python -m pip install --upgrade pip
|
||||
# pip install distro
|
||||
# pip install --upgrade platformio
|
||||
@ -109,12 +122,16 @@ jobs:
|
||||
- name: Release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: semantic-release
|
||||
run: |
|
||||
sudo apt-get install -y jq
|
||||
chmod +x ./repo-tools/scripts/prepareCMD.sh
|
||||
semantic-release
|
||||
cleanup:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
target_name: [esp32AIThinker, esp32M5Stack, esp32Cam, esp_eye, wrover, wrovers3]
|
||||
target_name:
|
||||
[esp32AIThinker, esp32M5Stack, esp32Cam, esp_eye, wrover, wrovers3]
|
||||
target_build_type: ["", _release]
|
||||
name: Cleanup actions
|
||||
needs:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user