This repository was archived by the owner on Dec 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 97
97
env :
98
98
GITHUB_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
99
99
100
+ alpine-build :
101
+ runs-on : ubuntu-latest
102
+ container : node:15-alpine3.12
103
+ steps :
104
+ - uses : actions/checkout@v2
105
+ - name : install additional dependencies
106
+ run : |
107
+ apk add g++ make python2 libsecret-dev
108
+
109
+ - run : npm install
110
+ name : Setup environment
111
+
112
+ - run : |
113
+ npm run prebuild-node
114
+ npm run prebuild-electron
115
+ npm run prebuild-electron-arm64
116
+ name: Prebuild
117
+
118
+ - run : |
119
+ ls prebuilds/
120
+ name: List prebuilds
121
+
122
+ - name : Upload prebuilds to GitHub
123
+ run : npm run upload
124
+ if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
125
+ env :
126
+ GITHUB_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
127
+
100
128
# Separate step for publishing to NPM so we're sure that generating + uploading prebuilds worked on all platforms
101
129
npm-publish :
102
- needs : build
130
+ needs : [ build, alpine-build]
103
131
name : Publish to NPM
104
132
runs-on : ubuntu-20.04
105
133
if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
You can’t perform that action at this time.
0 commit comments