Skip to content

Commit

Permalink
build: Fix CI branch names
Browse files Browse the repository at this point in the history
  • Loading branch information
qdot committed Jul 22, 2023
1 parent 7eeb895 commit bb9e024
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions .github/workflows/central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ name: Intiface Central Build
on:
push:
branches:
- master
- main
- dev

jobs:
windows:
Expand All @@ -28,19 +29,19 @@ jobs:
$encodedBytes = [System.Convert]::FromBase64String($env:PFX_CONTENT);
Set-Content $pfxPath -Value $encodedBytes -AsByteStream;
Write-Output "::set-output name=PFX_PATH::$pfxPath";
- name: Build MSIX
shell: pwsh
env:
PFX_KEY: ${{ secrets.NPLABS_WINDOWS_20210514_SIGNING_KEY }}
run: |
$pfxPath = Join-Path -Path $env:RUNNER_TEMP -ChildPath "cert.pfx";
flutter pub run msix:create -c $pfxPath -p "$env:PFX_KEY"
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: windows-msix
path: |
build/windows/runner/Release/*.msix
# - name: Build MSIX
# shell: pwsh
# env:
# PFX_KEY: ${{ secrets.NPLABS_WINDOWS_20210514_SIGNING_KEY }}
# run: |
# $pfxPath = Join-Path -Path $env:RUNNER_TEMP -ChildPath "cert.pfx";
# flutter pub run msix:create -c $pfxPath -p "$env:PFX_KEY"
# - name: Archive production artifacts
# uses: actions/upload-artifact@v3
# with:
# name: windows-msix
# path: |
# build/windows/runner/Release/*.msix
linux:
runs-on: ubuntu-latest
steps:
Expand All @@ -55,15 +56,15 @@ jobs:
name: flutter config
- run: flutter build linux --release
name: flutter build
# macos:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v3
# - uses: subosito/flutter-action@v2
# with:
# channel: 'stable'
# architecture: x64
# - run: flutter config --enable-macos-desktop
# name: flutter config
# - run: flutter build macos --release
# name: flutter build
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
- run: flutter config --enable-macos-desktop
name: flutter config
- run: flutter build macos --release
name: flutter build

0 comments on commit bb9e024

Please sign in to comment.