disable some other workflows
This commit is contained in:
parent
271fb8829a
commit
d6c708da42
92
.github/workflows/build.yml
vendored
92
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user