Skip to content

Commit

Permalink
fix: disable workflow better
Browse files Browse the repository at this point in the history
  • Loading branch information
xtruan committed May 20, 2024
1 parent 8477442 commit 4678ec9
Showing 1 changed file with 36 additions and 35 deletions.
71 changes: 36 additions & 35 deletions .github/workflows/ufbt_build.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
# name: "uFBT Build"
# on:
# push:
# branches:
# - main
# - develop
# pull_request:
# # schedule:
# # do a build every day
# # - cron: "1 1 * * *"
# jobs:
# ufbt-build-action:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# include:
# - name: dev channel
# sdk-channel: dev
# - name: release channel
# sdk-channel: release
# name: 'ufbt: Build for ${{ matrix.name }}'
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Build with ufbt
# uses: flipperdevices/[email protected]
# id: build-app
# with:
# sdk-channel: ${{ matrix.sdk-channel }}
# sdk-index-url: ${{ matrix.sdk-index-url }}
# - name: Upload app artifacts
# uses: actions/upload-artifact@v3
# with:
# name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
# path: ${{ steps.build-app.outputs.fap-artifacts }}
name: "uFBT Build"
on:
workflow_dispatch:
# push:
# branches:
# - main
# - develop
# pull_request:
# schedule:
# do a build every day
# - cron: "1 1 * * *"
jobs:
ufbt-build-action:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: dev channel
sdk-channel: dev
- name: release channel
sdk-channel: release
name: 'ufbt: Build for ${{ matrix.name }}'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build with ufbt
uses: flipperdevices/[email protected]
id: build-app
with:
sdk-channel: ${{ matrix.sdk-channel }}
sdk-index-url: ${{ matrix.sdk-index-url }}
- name: Upload app artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
path: ${{ steps.build-app.outputs.fap-artifacts }}

0 comments on commit 4678ec9

Please sign in to comment.