From 9734eacc51cacb60a89a554803dc41bd71478cad Mon Sep 17 00:00:00 2001 From: Struan Clark Date: Sun, 12 Mar 2023 23:07:10 -0600 Subject: [PATCH] modify build scripts, build only --- .github/workflows/build.yml | 2 ++ .github/workflows/release.yml | 34 ---------------------------------- 2 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8178bdb926..60bd84b58b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,8 @@ on: branches: - main - develop + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' env: firmware_version: '0.78.1' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 567d90349ce..00000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Release - -on: - push: - tags: - - 'v[0-9]+.[0-9]+.[0-9]+' - -env: - firmware_version: '0.78.1' - -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - name: Checkout Flipper Zero Firmware - uses: actions/checkout@v3 - with: - repository: 'flipperdevices/flipperzero-firmware' - ref: ${{ env.firmware_version }} - submodules: true - - name: Checkout - uses: actions/checkout@v3 - with: - path: 'applications_user/FlipBIP' - - name: Build - run: ./fbt COMPACT=1 DEBUG=0 faps - - name: Publish - uses: softprops/action-gh-release@v1 - with: - files: build/f7-firmware-C/.extapps/FlipBIP.fap - body: Built against firmware v${{ env.firmware_version }} - generate_release_notes: true - fail_on_unmatched_files: true \ No newline at end of file