mirror of https://github.com/OpenIPC/firmware.git
Fix prev commit issues
parent
405d577fec
commit
8e5dc071f8
|
@ -6,12 +6,13 @@ on:
|
||||||
- synchronize
|
- synchronize
|
||||||
- reopened
|
- reopened
|
||||||
- opened
|
- opened
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- production
|
- production
|
||||||
tags:
|
tags:
|
||||||
- "v*"
|
- "v*"
|
||||||
push:
|
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
schedule:
|
schedule:
|
||||||
|
@ -21,7 +22,6 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
buildroot:
|
buildroot:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') }}
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -103,6 +103,8 @@ jobs:
|
||||||
if [ "${{ matrix.release }}" != "lite" ]; then
|
if [ "${{ matrix.release }}" != "lite" ]; then
|
||||||
SUFF="${{ matrix.release }}-"
|
SUFF="${{ matrix.release }}-"
|
||||||
BOARD="${BOARD}_${{ matrix.release }}"
|
BOARD="${BOARD}_${{ matrix.release }}"
|
||||||
|
else
|
||||||
|
BOARD="${BOARD}_openipc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
NORFW_PATH="${GITHUB_WORKSPACE}/output/images/openipc.${{ matrix.platform }}-${SUFF}br.tgz"
|
NORFW_PATH="${GITHUB_WORKSPACE}/output/images/openipc.${{ matrix.platform }}-${SUFF}br.tgz"
|
||||||
|
@ -149,7 +151,7 @@ jobs:
|
||||||
exit 2
|
exit 2
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
if: ${{ !env.ACT }}
|
if: ${{ !env.ACT }} && github.event_name != 'pull_request'
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
|
@ -161,7 +163,7 @@ jobs:
|
||||||
prerelease: ${{ env.PRERELEASE }}
|
prerelease: ${{ env.PRERELEASE }}
|
||||||
|
|
||||||
- name: Upload NOR FW to release
|
- name: Upload NOR FW to release
|
||||||
if: ${{ !env.ACT }}
|
if: ${{ !env.ACT }} && github.event_name != 'pull_request'
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
|
@ -172,7 +174,7 @@ jobs:
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
- name: Upload NAND FW to release
|
- name: Upload NAND FW to release
|
||||||
if: ${{ !env.ACT }} && ${{ env.HAS_NAND }}
|
if: ${{ !env.ACT }} && ${{ env.HAS_NAND }} && github.event_name != 'pull_request'
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
|
@ -183,7 +185,7 @@ jobs:
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
- name: Send binary file to telegram channel
|
- name: Send binary file to telegram channel
|
||||||
if: ${{ !env.ACT }}
|
if: ${{ !env.ACT }} && github.event_name != 'pull_request'
|
||||||
env:
|
env:
|
||||||
TG_TOKEN: ${{ secrets.TELEGRAM_TOKEN_BOT_OPENIPC }}
|
TG_TOKEN: ${{ secrets.TELEGRAM_TOKEN_BOT_OPENIPC }}
|
||||||
TG_CHANNEL: ${{ secrets.TELEGRAM_CHANNEL_OPENIPC_DEV }}
|
TG_CHANNEL: ${{ secrets.TELEGRAM_CHANNEL_OPENIPC_DEV }}
|
||||||
|
|
Loading…
Reference in New Issue