8000 Fixes for 4.0 (#170) · homebridge/homebridge-syno-spk@dff183e · GitHub
[go: up one dir, main page]

Skip to content

Commit dff183e

Browse files
Fixes for 4.0 (#170)
1 parent 4973697 commit dff183e

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

.github/workflows/main.yml renamed to .github/workflows/Stage 1 - Build and Create Prerelease.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Build and Publish
2-
run-name: Build and Publish ${{ github.event.inputs.version }}
1+
name: Stage 1 - Build and Create Pre Release
2+
run-name: Build and Create Pre Release ${{ github.event.inputs.version }}
33

44
on:
55
workflow_dispatch:
66
inputs:
77
version:
8-
description: 'Version / Tag (x.x.x):'
8+
description: 'Release TAG to be created (x.x.x):'
99
required: true
1010

1111
jobs:
@@ -186,11 +186,14 @@ jobs:
186186
repo-token: ${{ secrets.GITHUB_TOKEN }}
187187
release-tag: ${{ github.event.inputs.version }}
188188

189-
- name: Upload Repo JSON to S3
190-
run: |
191-
cat repo/spks/synology-spk-repo.json | jq
192-
aws s3 cp repo/spks/synology-spk-repo.json s3://repo.homebridge.io/
193-
env:
194-
AWS_EC2_METADATA_DISABLED: true
195-
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
196-
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
189+
- name: Pre Release Created
190+
run: echo "::notice::Pre Release Created - ${{ github.event.inputs.version }}"
191+
192+
# - name: Upload Repo JSON to S3
193+
# run: |
194+
# cat repo/spks/synology-spk-repo.json | jq
195+
# aws s3 cp repo/spks/synology-spk-repo.json s3://repo.homebridge.io/
196+
# env:
197+
# AWS_EC2_METADATA_DISABLED: true
198+
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
199+
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

.github/workflows/replaceRelease.yml renamed to .github/workflows/Stage 2 - Publish Release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Rollback / Replace Release file
2-
run-name: Rollback / Replace Release file ${{ github.event.inputs.version }}
1+
name: Stage 2 - Publish Release
2+
run-name: Stage 2 - Publish Release ${{ github.event.inputs.version }}
33

44
on:
55
workflow_dispatch:
66
inputs:
77
version:
8-
description: 'Version / Tag (x.x.x):'
8+
description: 'Github Release Tag to Publish as latest (x.x.x):'
99
required: true
1010

1111
jobs:

SynoBuildConf/build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ case ${MakeClean} in
88
export npm_config_prefix=$(pwd)/app
99
export npm_config_ignore_scripts=true
1010
# this is running under the toolchain's copy of x64 Node.js, not the Node.js that was just extracted
11+
npm install -g reflect-metadata
1112
npm install -g homebridge-config-ui-x@latest
1213
;;
1314
esac

0 commit comments

Comments
 (0)
0