forked from Open-Wine-Components/umu-launcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66a1088
commit 0471d14
Showing
7 changed files
with
178 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: UMU Publish Release | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
version: | ||
required: true | ||
type: string | ||
file1: | ||
required: true | ||
type: string | ||
name1: | ||
required: true | ||
type: string | ||
name2: | ||
type: string | ||
default: "" | ||
file2: | ||
type: string | ||
default: "" | ||
|
||
jobs: | ||
release: | ||
name: Publish | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
include: | ||
- name: ${{ inputs.name1 }} | ||
file: ${{ inputs.file1 }} | ||
- name: ${{ inputs.name2 }} | ||
file: ${{ inputs.file2 }} | ||
steps: | ||
- name: Download ${{ matrix.name }} from artifact | ||
uses: actions/download-artifact@v4 | ||
if: ${{ matrix.name != '' }} | ||
with: | ||
name: ${{ matrix.name }} | ||
- name: Upload ${{ matrix.name }} to release | ||
uses: svenstaro/upload-release-action@v2 | ||
if: ${{ matrix.name != '' }} | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ${{ matrix.file }} | ||
asset_name: ${{ matrix.name }} | ||
tag: ${{ inputs.version }} | ||
overwrite: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: Build and upload artifacts to Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
|
||
jobs: | ||
fedora40-build: | ||
name: Fedora 40 Build | ||
uses: ./.github/workflows/build-umu-fedora-40.yml | ||
fedora40-release: | ||
name: Fedora 40 Release ${{ github.ref_name }} | ||
needs: fedora40-build | ||
uses: ./.github/workflows/build-umu-publish-release.yml | ||
with: | ||
version: ${{ github.ref_name }} | ||
file1: umu-launcher-${{ github.ref_name }}.fc40.noarch.rpm | ||
name1: umu-launcher-${{ github.ref_name }}.fc40.noarch.rpm | ||
|
||
fedora41-build: | ||
name: Fedora 41 Build | ||
uses: ./.github/workflows/build-umu-fedora-41.yml | ||
fedora41-release: | ||
name: Fedora 41 Release ${{ github.ref_name }} | ||
needs: fedora41-build | ||
uses: ./.github/workflows/build-umu-publish-release.yml | ||
with: | ||
version: ${{ github.ref_name }} | ||
file1: umu-launcher-${{ github.ref_name }}.fc41.noarch.rpm | ||
name1: umu-launcher-${{ github.ref_name }}.fc41.noarch.rpm | ||
|
||
debian12-build: | ||
name: Debian 12 Build | ||
uses: ./.github/workflows/build-umu-debian-12.yml | ||
debian12-release: | ||
name: Debian 12 Release ${{ github.ref_name }} | ||
needs: debian12-build | ||
uses: ./.github/workflows/build-umu-publish-release.yml | ||
with: | ||
version: ${{ github.ref_name }} | ||
file1: python3-umu-launcher_${{ github.ref_name }}-1_amd64_debian-12.deb | ||
name1: python3-umu-launcher_${{ github.ref_name }}-1_amd64_debian-12.deb | ||
file2: umu-launcher_${{ github.ref_name }}-1_all_debian-12.deb | ||
name2: umu-launcher_${{ github.ref_name }}-1_all_debian-12.deb | ||
|
||
ubuntu-noble-build: | ||
name: Ubuntu 24.04 Build | ||
uses: ./.github/workflows/build-umu-ubuntu-noble.yml | ||
ubuntu-noble-release: | ||
name: Ubuntu 24.04 Release ${{ github.ref_name }} | ||
needs: ubuntu-noble-build | ||
uses: ./.github/workflows/build-umu-publish-release.yml | ||
with: | ||
version: ${{ github.ref_name }} | ||
file1: python3-umu-launcher_${{ github.ref_name }}-1_amd64_ubuntu-noble.deb | ||
name1: python3-umu-launcher_${{ github.ref_name }}-1_amd64_ubuntu-noble.deb | ||
file2: umu-launcher_${{ github.ref_name }}-1_all_ubuntu-noble.deb | ||
name2: umu-launcher_${{ github.ref_name }}-1_all_ubuntu-noble.deb | ||
|
||
zipapp-build: | ||
name: Zipapp Build | ||
uses: ./.github/workflows/build-umu-zipapp.yml | ||
zipapp-release: | ||
name: Zippapp Release ${{ github.ref_name }} | ||
needs: zipapp-build | ||
uses: ./.github/workflows/build-umu-publish-release.yml | ||
with: | ||
version: ${{ github.ref_name }} | ||
file1: umu-launcher-${{ github.ref_name }}-zipapp.tar.gz | ||
name1: umu-launcher-${{ github.ref_name }}-zipapp.tar.gz |