@@ -31,10 +31,11 @@ jobs:
3131 run : cd dist && getfacl -R . > permissions-backup.acl
3232 continue-on-error : true
3333 - name : Upload artifact
34- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
34+ uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
3535 with :
3636 name : build-artifact
3737 path : dist
38+ overwrite : true
3839 release_npm :
3940 name : Publish to npm
4041 needs : release
@@ -47,21 +48,23 @@ jobs:
4748 with :
4849 node-version : 18.x
4950 - name : Download build artifacts
50- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
51+ uses : actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
5152 with :
5253 name : build-artifact
5354 path : dist
5455 - name : Restore build artifact permissions
5556 run : cd dist && setfacl --restore=permissions-backup.acl
5657 continue-on-error : true
57- - name : Prepare Repository
58- run : mv dist .repo
58+ - name : Checkout
59+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
60+ with :
61+ path : .repo
5962 - name : Install Dependencies
6063 run : cd .repo && yarn install --check-files --frozen-lockfile
6164 - name : Create js artifact
62- run : cd .repo && npx projen package:js
65+ run : cd .repo && npx projen compile && npx projen package:js
6366 - name : Collect js Artifact
64- run : mv .repo/dist dist
67+ run : mv .repo/dist/js dist/js
6568 - name : Release
6669 env :
6770 NPM_DIST_TAG : latest
@@ -95,21 +98,23 @@ jobs:
9598 with :
9699 node-version : 18.x
97100 - name : Download build artifacts
98- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
101+ uses : actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
99102 with :
100103 name : build-artifact
101104 path : dist
102105 - name : Restore build artifact permissions
103106 run : cd dist && setfacl --restore=permissions-backup.acl
104107 continue-on-error : true
105- - name : Prepare Repository
106- run : mv dist .repo
108+ - name : Checkout
109+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
110+ with :
111+ path : .repo
107112 - name : Install Dependencies
108113 run : cd .repo && yarn install --check-files --frozen-lockfile
109114 - name : Create java artifact
110- run : cd .repo && npx projen package:java
115+ run : cd .repo && npx projen compile && npx projen package:java
111116 - name : Collect java Artifact
112- run : mv .repo/dist dist
117+ run : mv .repo/dist/java dist/java
113118 - name : Release
114119 env :
115120 MAVEN_GPG_PRIVATE_KEY : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
@@ -144,21 +149,23 @@ jobs:
144149 with :
145150 python-version : 3.x
146151 - name : Download build artifacts
147- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
152+ uses : actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
148153 with :
149154 name : build-artifact
150155 path : dist
151156 - name : Restore build artifact permissions
152157 run : cd dist && setfacl --restore=permissions-backup.acl
153158 continue-on-error : true
154- - name : Prepare Repository
155- run : mv dist .repo
159+ - name : Checkout
160+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
161+ with :
162+ path : .repo
156163 - name : Install Dependencies
157164 run : cd .repo && yarn install --check-files --frozen-lockfile
158165 - name : Create python artifact
159- run : cd .repo && npx projen package:python
166+ run : cd .repo && npx projen compile && npx projen package:python
160167 - name : Collect python Artifact
161- run : mv .repo/dist dist
168+ run : mv .repo/dist/python dist/python
162169 - name : Release
163170 env :
164171 TWINE_USERNAME : ${{ secrets.TWINE_USERNAME }}
@@ -188,23 +195,25 @@ jobs:
188195 node-version : 18.x
189196 - uses : actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25
190197 with :
191- dotnet-version : 3 .x
198+ dotnet-version : 9.0 .x
192199 - name : Download build artifacts
193- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
200+ uses : actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
194201 with :
195202 name : build-artifact
196203 path : dist
197204 - name : Restore build artifact permissions
198205 run : cd dist && setfacl --restore=permissions-backup.acl
199206 continue-on-error : true
200- - name : Prepare Repository
201- run : mv dist .repo
207+ - name : Checkout
208+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
209+ with :
210+ path : .repo
202211 - name : Install Dependencies
203212 run : cd .repo && yarn install --check-files --frozen-lockfile
204213 - name : Create dotnet artifact
205- run : cd .repo && npx projen package:dotnet
214+ run : cd .repo && npx projen compile && npx projen package:dotnet
206215 - name : Collect dotnet Artifact
207- run : mv .repo/dist dist
216+ run : mv .repo/dist/dotnet dist/dotnet
208217 - name : Extract Version
209218 id : extract-version
210219 run : echo "VERSION=$(cat dist/version.txt)" >> "${GITHUB_OUTPUT}"
@@ -249,21 +258,23 @@ jobs:
249258 with :
250259 go-version : ^1.16.0
251260 - name : Download build artifacts
252- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
261+ uses : actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
253262 with :
254263 name : build-artifact
255264 path : dist
256265 - name : Restore build artifact permissions
257266 run : cd dist && setfacl --restore=permissions-backup.acl
258267 continue-on-error : true
259- - name : Prepare Repository
260- run : mv dist .repo
268+ - name : Checkout
269+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
270+ with :
271+ path : .repo
261272 - name : Install Dependencies
262273 run : cd .repo && yarn install --check-files --frozen-lockfile
263274 - name : Create go artifact
264- run : cd .repo && npx projen package:go
275+ run : cd .repo && npx projen compile && npx projen package:go
265276 - name : Collect go Artifact
266- run : mv .repo/dist dist
277+ run : mv .repo/dist/go dist/go
267278 - name : Release
268279 env :
269280 GITHUB_TOKEN : ${{ secrets.GO_GITHUB_TOKEN }}
@@ -293,17 +304,13 @@ jobs:
293304 with :
294305 node-version : 18.x
295306 - name : Download build artifacts
296- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
307+ uses : actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
297308 with :
298309 name : build-artifact
299310 path : dist
300311 - name : Restore build artifact permissions
301312 run : cd dist && setfacl --restore=permissions-backup.acl
302313 continue-on-error : true
303- - name : Prepare Repository
304- run : mv dist .repo
305- - name : Collect GitHub Metadata
306- run : mv .repo/dist dist
307314 - name : Release
308315 env :
309316 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments