File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -99,12 +99,16 @@ jobs:
99
99
npx node-pre-gyp package --runtime=electron --target=${{ matrix.version.electron }} --arch=arm64 --target_arch=arm64
100
100
npx node-pre-gyp-github publish
101
101
102
+ - name : Prepare artifact for upload
103
+ if : matrix.os == 'ubuntu-latest'
104
+ run : tar -zcf artifact.tar.gz .
105
+
102
106
- name : Upload artifact
103
107
if : matrix.os == 'ubuntu-latest'
104
108
uses : actions/upload-artifact@v3
105
109
with :
106
110
name : build-ubuntu
107
- path : ${{ github.workspace }}
111
+ path : artifact.tar
108
112
if-no-files-found : error
109
113
retention-days : 5
110
114
@@ -117,6 +121,9 @@ jobs:
117
121
with :
118
122
name : build-ubuntu
119
123
124
+ - name : Extract artifact
125
+ run : tar -xzf artifact.tar.gz
126
+
120
127
- name : Publish
121
128
env :
122
129
NPM_PUBLISH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
You can’t perform that action at this time.
0 commit comments