Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c49f761f93 | ||
|
|
ca05007197 | ||
|
|
c2473ad714 | ||
|
|
56bebb4be7 |
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -33,6 +33,9 @@ jobs:
|
|||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y ruby-full
|
sudo apt-get install -y ruby-full
|
||||||
gem install fpm
|
gem install fpm
|
||||||
|
export PATH="$(ruby -e 'puts Gem.user_dir')/bin:$PATH"
|
||||||
|
- name: Check fpm
|
||||||
|
run: which fpm
|
||||||
- name: Build Debian package
|
- name: Build Debian package
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build/linux/opt
|
mkdir -p build/linux/opt
|
||||||
@@ -55,8 +58,10 @@ jobs:
|
|||||||
-m k.dries@protonmail.com \
|
-m k.dries@protonmail.com \
|
||||||
--description "Gotify Tray. A tray notification application for receiving messages from a Gotify server." \
|
--description "Gotify Tray. A tray notification application for receiving messages from a Gotify server." \
|
||||||
--category internet \
|
--category internet \
|
||||||
--version "$(cat version.txt)" \
|
--version "${{github.ref_name#v}}" \
|
||||||
--license GPLv3
|
--license GPLv3
|
||||||
|
- name: Check deb file
|
||||||
|
run: ls -la dist/
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@@ -69,6 +74,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: gotify-tray_${{github.ref_name}}_amd64.deb
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: marvinpinto/action-automatic-releases@latest
|
uses: marvinpinto/action-automatic-releases@latest
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user