Merge pull request #3838 from balena-io/ab77/operational

Build targets individually
This commit is contained in:
bulldozer-balena[bot] 2022-11-07 21:34:46 +00:00 committed by GitHub
commit 306e40fd7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 9 deletions

View File

@ -40,10 +40,3 @@ runs:
env:
GITHUB_TOKEN: ${{ fromJSON(inputs.secrets).FLOWZONE_TOKEN }}
- name: Update release notes
if: runner.os == 'Linux'
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
token: ${{ fromJSON(inputs.secrets).FLOWZONE_TOKEN }}

View File

@ -75,7 +75,7 @@ runs:
pushd ../resinci-deploy && npm ci && npm link && popd
if [ $runner_os =~ linux|macos ]]; then
if [[ $runner_os =~ linux|macos ]]; then
chmod +x "$(dirname "$(which node)")/resinci-deploy" && which resinci-deploy
fi
@ -177,7 +177,7 @@ runs:
npm link electron-builder
for target in ${TARGETS}; do
electron-builder ${ELECTRON_BUILDER_OS} ${ARCHITECTURE_FLAGS} \
electron-builder ${ELECTRON_BUILDER_OS} ${target} ${ARCHITECTURE_FLAGS} \
--c.extraMetadata.analytics.sentry.token='${{ steps.sentry.outputs.dsn }}' \
--c.extraMetadata.packageType="${target}"