commit
565cab9968
1 changed files with 18 additions and 4 deletions
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
|
|
@ -6,7 +6,7 @@ on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
# this is a glob, not a regexp
|
# this is a glob, not a regexp
|
||||||
- "[0-9]*"
|
- "*"
|
||||||
jobs:
|
jobs:
|
||||||
source:
|
source:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -32,7 +32,21 @@ jobs:
|
||||||
- name: Build release
|
- name: Build release
|
||||||
run: make dist
|
run: make dist
|
||||||
|
|
||||||
- name: Publish GitHub release
|
- name: Upload binaries to release
|
||||||
uses: cockpit-project/action-release@88d994da62d1451c7073e26748c18413fcdf46e9
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
filename: "cockpit-sensors.tar.xz"
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
file: cockpit-sensors.tar.xz
|
||||||
|
asset_name: cockpit-sensors.tar.xz
|
||||||
|
tag: ${{ github.ref }}
|
||||||
|
|
||||||
|
- name: Build Deb release
|
||||||
|
run: make deb
|
||||||
|
|
||||||
|
- name: Upload Deb binaries to release
|
||||||
|
uses: svenstaro/upload-release-action@v2
|
||||||
|
with:
|
||||||
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
file: cockpit-sensors.deb
|
||||||
|
asset_name: cockpit-sensors.deb
|
||||||
|
tag: ${{ github.ref }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue