Skip to content

Commit

Permalink
Disable Windows Release
Browse files Browse the repository at this point in the history
Windows Build is currently failing
  • Loading branch information
Kuuchuu authored May 9, 2024
1 parent ba90bcf commit e3471c4
Showing 1 changed file with 56 additions and 56 deletions.
112 changes: 56 additions & 56 deletions .github/workflows/prod-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,62 +113,62 @@ jobs:
name: focalboard-mac.zip
path: ${{ github.workspace }}/focalboard/mac/dist/focalboard-mac.zip

windows:
runs-on: windows-2022

steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: "focalboard"

- name: Replace token 1 server
run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go

- name: Replace token 1 webapp
run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/mattermost-plugin/webapp/src/index.tsx

- name: Replace token 2 server
run: sed -i -e "s,placeholder_rudder_key,${{ secrets.RUDDER_PROD_KEY }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go

- name: Replace token 2 webapp
run: sed -i -e "s,placeholder_rudder_key,${{ secrets.RUDDER_PROD_KEY }},g" ${{ github.workspace }}/focalboard/mattermost-plugin/webapp/src/index.tsx

- name: Add msbuild to PATH
uses: microsoft/[email protected]

- name: npm ci
run: cd focalboard/webapp; npm ci --no-optional

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5

- name: Setup NuGet
uses: nuget/setup-nuget@v1
with:
nuget-version: '5.x'

- name: NuGet Restore
run: nuget restore focalboard\win-wpf\Focalboard.sln

- name: Build Windows WPF app
run: cd focalboard; make win-wpf-app
env:
BUILD_NUMBER: ${{ github.run_id }}

- name: Upload app msix package
uses: actions/upload-artifact@v3
with:
name: focalboard.msix
path: ${{ github.workspace }}/focalboard/win-wpf/focalboard.msix

- name: Upload app zip package
uses: actions/upload-artifact@v3
with:
name: focalboard-win.zip
path: ${{ github.workspace }}/focalboard/win-wpf/dist/focalboard-win.zip
# windows:
# runs-on: windows-2022

# steps:
# - name: Checkout
# uses: actions/checkout@v3
# with:
# path: "focalboard"

# - name: Replace token 1 server
# run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go

# - name: Replace token 1 webapp
# run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/mattermost-plugin/webapp/src/index.tsx

# - name: Replace token 2 server
# run: sed -i -e "s,placeholder_rudder_key,${{ secrets.RUDDER_PROD_KEY }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go

# - name: Replace token 2 webapp
# run: sed -i -e "s,placeholder_rudder_key,${{ secrets.RUDDER_PROD_KEY }},g" ${{ github.workspace }}/focalboard/mattermost-plugin/webapp/src/index.tsx

# - name: Add msbuild to PATH
# uses: microsoft/[email protected]

# - name: npm ci
# run: cd focalboard/webapp; npm ci --no-optional

# - name: Set up Go
# uses: actions/setup-go@v3
# with:
# go-version: 1.19.5

# - name: Setup NuGet
# uses: nuget/setup-nuget@v1
# with:
# nuget-version: '5.x'

# - name: NuGet Restore
# run: nuget restore focalboard\win-wpf\Focalboard.sln

# - name: Build Windows WPF app
# run: cd focalboard; make win-wpf-app
# env:
# BUILD_NUMBER: ${{ github.run_id }}

# - name: Upload app msix package
# uses: actions/upload-artifact@v3
# with:
# name: focalboard.msix
# path: ${{ github.workspace }}/focalboard/win-wpf/focalboard.msix

# - name: Upload app zip package
# uses: actions/upload-artifact@v3
# with:
# name: focalboard-win.zip
# path: ${{ github.workspace }}/focalboard/win-wpf/dist/focalboard-win.zip

plugin-release:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit e3471c4

Please sign in to comment.