Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocarnelos committed Apr 7, 2022
1 parent ec916ca commit 480a6c3
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Build image
name: Publish GitHub Release

on:
push:
tags:
- '*'
- 'v*.*.*'

jobs:
build:
publish:
runs-on: ubuntu-latest
env:
DIETPI_IMG_NAME: DietPi_RPi-ARMv8-Bullseye
Expand All @@ -18,8 +18,8 @@ jobs:
- name: Run SailTrack-Build
run: sudo ./.build/sailtrack-build ${{ env.DIETPI_IMG_NAME }} ${{ env.OUTPUT_IMG_NAME }}

- name: Upload archive
uses: actions/upload-artifact@v3
- name: Publish release
uses: softprops/action-gh-release@v1
with:
name: ${{ env.OUTPUT_IMG_NAME }}.7z
path: ${{ env.OUTPUT_IMG_NAME }}.7z
files: ${{ env.OUTPUT_IMG_NAME }}.7z
generate_release_notes: true

0 comments on commit 480a6c3

Please sign in to comment.