Skip to content

Commit 64d9d42

Browse files
authored
Only build for linux
1 parent fe89ef3 commit 64d9d42

File tree

1 file changed

+52
-58
lines changed

1 file changed

+52
-58
lines changed

.github/workflows/build.yml

Lines changed: 52 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ jobs:
4040
matrix:
4141
os:
4242
- ubuntu-latest
43-
- macos-latest
44-
- windows-latest
4543

4644
steps:
4745
- name: Check out Git repository
@@ -69,13 +67,9 @@ jobs:
6967
uses: samuelmeuli/action-electron-builder@v1
7068
env:
7169
USE_HARD_LINKS: false # because of https://github.com/electron-userland/electron-builder/issues/3179
72-
APPLEID: ${{ secrets.APPLEID }}
73-
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
7470
with:
7571
github_token: ${{ secrets.github_token }}
7672
release: false
77-
mac_certs: ${{ secrets.CSC_LINK }}
78-
mac_certs_password: ${{ secrets.CSC_KEY_PASSWORD }}
7973

8074
- name: Clean build directory
8175
shell: bash
@@ -110,55 +104,55 @@ jobs:
110104
asset_content_type: application/zip
111105

112106

113-
crosscompile:
114-
name: Build executable for ARM
115-
needs: build-webui
116-
runs-on: ubuntu-latest
117-
steps:
118-
- name: Check out Git repository
119-
uses: actions/checkout@v1
120-
121-
- name: Download Webui dist
122-
uses: actions/download-artifact@v1
123-
with:
124-
name: webui-dist
125-
path: webui/dist
126-
127-
- name: Update version global
128-
run: sh scripts/update_build_version.sh
129-
130-
- name: Build for raspberrypi
131-
shell: bash
132-
run: ./scripts/compile_for_raspberrypi.sh
133-
134-
- name: Clean build directory
135-
shell: bash
136-
run: sudo ./scripts/clean_build.sh
137-
138-
# - name: Upload build artifacts
139-
# uses: actions/upload-artifact@v1
140-
# with:
141-
# name: soundsync-linux-armv7l
142-
# path: bin/
143-
144-
- uses: ./.github/actions/create-dev-release
145-
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
146-
env:
147-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
148-
with:
149-
tag_name: ${{ github.ref }}
150-
release_name: ${{ github.ref }}
151-
prerelease: false
152-
files_glob: bin/*
153-
asset_content_type: application/zip
154-
155-
- uses: ./.github/actions/create-dev-release
156-
if: ${{ github.ref == 'refs/heads/master' }}
157-
env:
158-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
159-
with:
160-
tag_name: bleeding-edge
161-
release_name: Bleeding edge
162-
prerelease: true
163-
files_glob: bin/*
164-
asset_content_type: application/zip
107+
# crosscompile:
108+
# name: Build executable for ARM
109+
# needs: build-webui
110+
# runs-on: ubuntu-latest
111+
# steps:
112+
# - name: Check out Git repository
113+
# uses: actions/checkout@v1
114+
115+
# - name: Download Webui dist
116+
# uses: actions/download-artifact@v1
117+
# with:
118+
# name: webui-dist
119+
# path: webui/dist
120+
121+
# - name: Update version global
122+
# run: sh scripts/update_build_version.sh
123+
124+
# - name: Build for raspberrypi
125+
# shell: bash
126+
# run: ./scripts/compile_for_raspberrypi.sh
127+
128+
# - name: Clean build directory
129+
# shell: bash
130+
# run: sudo ./scripts/clean_build.sh
131+
132+
# # - name: Upload build artifacts
133+
# # uses: actions/upload-artifact@v1
134+
# # with:
135+
# # name: soundsync-linux-armv7l
136+
# # path: bin/
137+
138+
# - uses: ./.github/actions/create-dev-release
139+
# if: ${{ startsWith(github.ref, 'refs/tags/v') }}
140+
# env:
141+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
142+
# with:
143+
# tag_name: ${{ github.ref }}
144+
# release_name: ${{ github.ref }}
145+
# prerelease: false
146+
# files_glob: bin/*
147+
# asset_content_type: application/zip
148+
149+
# - uses: ./.github/actions/create-dev-release
150+
# if: ${{ github.ref == 'refs/heads/master' }}
151+
# env:
152+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
153+
# with:
154+
# tag_name: bleeding-edge
155+
# release_name: Bleeding edge
156+
# prerelease: true
157+
# files_glob: bin/*
158+
# asset_content_type: application/zip

0 commit comments

Comments
 (0)