disable some other workflows

This commit is contained in:
seth 2023-07-10 20:19:05 -04:00
parent 271fb8829a
commit d6c708da42
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -704,50 +704,50 @@ jobs:
name: PrismLauncher-Windows-MSVC-Universal-AppInstaller-${{ env.VERSION }}-${{ inputs.build_type }}
path: ${{ env.APPINSTALLER_STAGING }}/prismlauncher-${{ env.APPX_VERSION }}.AppInstaller
flatpak:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:kde-5.15-22.08
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v3
if: inputs.build_type == 'Debug'
with:
submodules: 'true'
- name: Build Flatpak (Linux)
if: inputs.build_type == 'Debug'
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: "Prism Launcher.flatpak"
manifest-path: flatpak/org.prismlauncher.PrismLauncher.yml
#flatpak:
# runs-on: ubuntu-latest
# container:
# image: bilelmoussaoui/flatpak-github-actions:kde-5.15-22.08
# options: --privileged
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# if: inputs.build_type == 'Debug'
# with:
# submodules: 'true'
# - name: Build Flatpak (Linux)
# if: inputs.build_type == 'Debug'
# uses: flatpak/flatpak-github-actions/flatpak-builder@v6
# with:
# bundle: "Prism Launcher.flatpak"
# manifest-path: flatpak/org.prismlauncher.PrismLauncher.yml
nix:
runs-on: ubuntu-latest
strategy:
matrix:
package:
- prismlauncher
- prismlauncher-qt5
steps:
- name: Clone repository
if: inputs.build_type == 'Debug'
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Install nix
if: inputs.build_type == 'Debug'
uses: cachix/install-nix-action@v22
with:
install_url: https://nixos.org/nix/install
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v12
if: inputs.build_type == 'Debug'
with:
name: prismlauncher
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build
if: inputs.build_type == 'Debug'
run: nix build .#${{ matrix.package }} --print-build-logs
#nix:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# package:
# - prismlauncher
# - prismlauncher-qt5
# steps:
# - name: Clone repository
# if: inputs.build_type == 'Debug'
# uses: actions/checkout@v3
# with:
# submodules: 'true'
# - name: Install nix
# if: inputs.build_type == 'Debug'
# uses: cachix/install-nix-action@v22
# with:
# install_url: https://nixos.org/nix/install
# extra_nix_config: |
# auto-optimise-store = true
# experimental-features = nix-command flakes
# - uses: cachix/cachix-action@v12
# if: inputs.build_type == 'Debug'
# with:
# name: prismlauncher
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
# - name: Build
# if: inputs.build_type == 'Debug'
# run: nix build .#${{ matrix.package }} --print-build-logs