Skip to content

Commit

Permalink
Migrate from artifacts to release
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Fischer committed Mar 6, 2025
1 parent ede712a commit cd823d5
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/build-pi-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
Expand All @@ -18,9 +20,15 @@ jobs:
sudo chmod +x ./build-pi-image.sh
sudo ./build-pi-image.sh
- name: Upload Raspberry Pi image
uses: actions/upload-artifact@v4
- name: Create release
uses: softprops/action-gh-release@v2
with:
name: rpi.img.xz
path: pi-gen/deploy/*.img.xz
overwrite: true
tag_name: v1.0
name: Sonos Streaming Image - v1.0
body: |
Automated build of the Sonos streaming image.
Build date: ${{ github.event.repository.updated_at }}
files: |
pi-gen/deploy/*.img.xz
draft: false
prerelease: false

0 comments on commit cd823d5

Please sign in to comment.