2323 uses : EndBug/add-and-commit@v9
2424 with :
2525 push : origin HEAD:main
26- add : bin/corlink-server --force
26+ add : ./licensing/ bin/corlink-server --force
2727 author_name : motortruck1221
2828 author_email : motortruck1221@protonmail.com
2929 aur-binary :
@@ -131,8 +131,8 @@ jobs:
131131 uses : actions/upload-artifact@v4
132132 with :
133133 name : binaries
134- path : bin/
135- retention-days : 1
134+ path : ./licensing/ bin/
135+ retention-days : 2
136136 download-upload-release :
137137 name : Download & Upload Binaries to Release
138138 runs-on : ubuntu-latest
@@ -145,7 +145,7 @@ jobs:
145145 with :
146146 # download the binaries from the binaries job
147147 name : binaries
148- path : bin/
148+ path : ./licensing/ bin/
149149 # binaries worflow run id
150150 - name : Make binaries executable
151151 run : cd licensing/ && chmod +x bin/*
@@ -170,22 +170,4 @@ jobs:
170170 gh release upload $release bin/corlink-server-386-compressed --clobber
171171 gh release upload $release bin/corlink-server-compressed.exe --clobber
172172 gh release upload $release bin/corlink-server-mac-compressed --clobber
173- gh release upload $release bin/corlink-server-mac-arm64-compressed --clobber
174- npm :
175- name : Publish packages to NPM
176- runs-on : ubuntu-latest
177- steps :
178- - name : Checkout
179- uses : actions/checkout@v3
180- - name : Set up Node.js
181- uses : actions/setup-node@v2
182- with :
183- node-version : ' 18'
184- - name : Build binaries
185- run : |
186- cd licensing/
187- make npm
188- - name : Setup User
189- run : npm config set //registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}
190- - name : Publish
191- run : cd licensing/ && make npm-publish
173+ gh release upload $release bin/corlink-server-mac-arm64-compressed --clobber
0 commit comments