Skip to content

Commit

Permalink
ci(workflows): minor fixes and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Jan 23, 2025
1 parent 64544e7 commit 8d97166
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release-notifier-moonlight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: discord
uses: sarisia/actions-status-discord@v1 # https://github.com/sarisia/actions-status-discord
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK_MOONLIGHT }}
avatar_url: ${{ vars.ORG_LOGO_URL }}256
color: 0x${{ vars.COLOR_HEX_GREEN }}
description: ${{ github.event.release.body }}
nodetail: true
nofail: false
username: ${{ secrets.DISCORD_USERNAME }}
avatar_url: ${{ secrets.ORG_LOGO_URL }}
title: ${{ github.event.repository.name }} ${{ github.ref_name }} Released
description: ${{ github.event.release.body }}
color: 0xFF4500
username: ${{ secrets.DISCORD_USERNAME }}
webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK_MOONLIGHT }}
5 changes: 3 additions & 2 deletions .github/workflows/update-flathub-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ name: Update flathub repo

on:
release:
types: [released]
types:
- released

concurrency:
group: "${{ github.workflow }}-${{ github.event.release.tag_name }}"
Expand Down Expand Up @@ -114,7 +115,7 @@ jobs:
out-file-path: "flathub/${{ env.FLATHUB_PKG }}"
extract: true

- name: Delete arhive
- name: Delete archive
if: >-
steps.check-label.outputs.hasTopic == 'true' &&
steps.check-release.outputs.isLatestRelease == 'true'
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/update-pacman-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ jobs:
out-file-path: "pkgbuilds/${{ steps.prep.outputs.pkg_name }}"
extract: true

- name: Remove pkg.tar.gz
if: >-
steps.check-label.outputs.hasTopic == 'true' &&
steps.check-release.outputs.isLatestRelease == 'true' &&
fromJson(steps.download.outputs.downloaded_files)[0]
run: |
rm -f "pkgbuilds/${{ steps.prep.outputs.pkg_name }}"
- name: Create/Update Pull Request
if: >-
steps.check-label.outputs.hasTopic == 'true' &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
</p>

<p>NOTE: Sunshine requires additional installation steps.</p>
<p>flatpak run --command=additional-install.sh @PROJECT_FQDN@</p>
<pre>flatpak run --command=additional-install.sh @PROJECT_FQDN@</pre>
<p>NOTE: Sunshine uses a self-signed certificate. The web browser will report it as not secure, but it is safe.</p>
<p>NOTE: KMS Grab (Optional)</p>
<p>sudo -i PULSE_SERVER=unix:/run/user/$(id -u $whoami)/pulse/native flatpak run @PROJECT_FQDN@</p>
<pre>sudo -i PULSE_SERVER=unix:/run/user/$(id -u $whoami)/pulse/native flatpak run @PROJECT_FQDN@</pre>
</description>

<releases>
Expand Down

0 comments on commit 8d97166

Please sign in to comment.