Skip to content

Commit

Permalink
Update publishing and funding workflows (mamolinux#41)
Browse files Browse the repository at this point in the history
- Update workflow for publishing deb packages
- Update funding
  • Loading branch information
hsbasu committed May 21, 2023
1 parent 7b1ef08 commit 6378321
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
github: hsbasu # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
ko_fi: hsbasu # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: hsbasu # Replace with a single Liberapay username
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/publish-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
push:
tags:
- "*.*.*"
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -19,11 +20,15 @@ jobs:
matrix:
language: [ 'python' ]

permissions:
contents: write
packages: write

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -32,9 +37,7 @@ jobs:
run: |
sudo apt-get update -qq
sudo apt install -y build-essential debhelper devscripts dh-python \
acpi gobject-introspection gir1.2-appindicator3-0.1 gir1.2-gtk-3.0 \
libnotify4 libappindicator3-1 python3 python3-configobj python3-gi \
python3-setproctitle python3-sphinx python3-tldextract
python3 python3-setuptools python3-sphinx
- name: build-deb
run: |
Expand All @@ -44,7 +47,7 @@ jobs:
- name: get latest tag
id: gettag
run: echo "::set-output name=latesttag::$(git describe --tags --abbrev=0 || git rev-list --max-parents=0 ${{github.ref}})"
run: echo "latesttag=$(git describe --tags --abbrev=0 || git rev-list --max-parents=0 ${{github.ref}})" >> $GITHUB_OUTPUT

- name: Create Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 6378321

Please sign in to comment.