Skip to content

Commit

Permalink
meshtasticd-debian: Remove existing deb builds
Browse files Browse the repository at this point in the history
  • Loading branch information
vidplace7 committed Jan 9, 2025
1 parent 8aac9f2 commit 92041b2
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 396 deletions.
52 changes: 0 additions & 52 deletions .github/workflows/build_raspbian.yml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/build_raspbian_armv7l.yml

This file was deleted.

41 changes: 19 additions & 22 deletions .github/workflows/main_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,12 @@ jobs:
with:
board: ${{ matrix.board }}

package-raspbian:
uses: ./.github/workflows/package_raspbian.yml

package-raspbian-armv7l:
uses: ./.github/workflows/package_raspbian_armv7l.yml

package-native:
uses: ./.github/workflows/package_amd64.yml
build-debian-src:
uses: ./.github/workflows/build_debian_src.yml
with:
series: UNRELEASED
build_location: local
secrets: inherit

test-native:
uses: ./.github/workflows/test_native.yml
Expand Down Expand Up @@ -254,13 +252,7 @@ jobs:
if: ${{ github.event_name == 'workflow_dispatch' }}
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
needs:
[
gather-artifacts,
package-raspbian,
package-raspbian-armv7l,
package-native,
]
needs: [gather-artifacts, build-debian-src]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -271,8 +263,12 @@ jobs:
python-version: 3.x

- name: Get release version string
run: echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
run: |
echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
echo "deb=$(./bin/buildinfo.py deb)" >> $GITHUB_OUTPUT
id: version
env:
BUILD_LOCATION: local

- name: Create release
uses: softprops/action-gh-release@v2
Expand All @@ -285,25 +281,26 @@ jobs:
body: |
Autogenerated by github action, developer should edit as required before publishing...
- name: Download deb files
- name: Download source deb
uses: actions/download-artifact@v4
with:
pattern: meshtasticd_${{ steps.version.outputs.long }}_*.deb
pattern: firmware-debian-${{ steps.version.outputs.deb }}~UNRELEASED-src
merge-multiple: true
path: ./output

- name: Zip source deb
run: zip -j -9 -r ./meshtasticd-${{ steps.version.outputs.deb }}-src.zip ./output

# For diagnostics
- name: Display structure of downloaded files
run: ls -lR

- name: Add deb files to release
- name: Add source deb to release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.version.outputs.long }}
files: |
./output/meshtasticd_${{ steps.version.outputs.long }}_arm64.deb
./output/meshtasticd_${{ steps.version.outputs.long }}_armhf.deb
./output/meshtasticd_${{ steps.version.outputs.long }}_amd64.deb
./meshtasticd-${{ steps.version.outputs.deb }}-src.zip
- name: Bump version.properties
run: >-
Expand Down
90 changes: 0 additions & 90 deletions .github/workflows/package_amd64.yml

This file was deleted.

90 changes: 0 additions & 90 deletions .github/workflows/package_raspbian.yml

This file was deleted.

Loading

0 comments on commit 92041b2

Please sign in to comment.