disable autobuild for rn #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
# on: | |
# push: | |
# branches: [main] | |
jobs: | |
ufbt-build-action: | |
runs-on: ubuntu-latest | |
name: "ufbt: Build for dev channel" | |
strategy: | |
matrix: | |
include: | |
- name: dev channel | |
sdk-channel: dev | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
sparse-checkout: FindMyFlipper | |
- name: Build with ufbt | |
uses: flipperdevices/[email protected] | |
id: build-app | |
with: | |
# Set to 'release' to build for latest published release version | |
sdk-channel: ${{ matrix.sdk-channel }} | |
app-dir: FindMyFlipper | |
- name: Get commit message | |
run: echo "COMMIT_MESSAGE=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_ENV | |
- name: Bump version and push tag | |
id: tag_version | |
uses: mathieudutour/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
name: ${{ env.COMMIT_MESSAGE }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
files: ${{ steps.build-app.outputs.fap-artifacts }} | |
generate_release_notes: true | |
tag_name: ${{steps.tag_version.outputs.new_tag}} |