Skip to content

Commit fdee63a

Browse files
feat: publish workshop template (#45)
1 parent 3bb1c5e commit fdee63a

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
- name: react-example
3030
target: scratch_react_example
3131
out: react-example.tar.gz
32+
- name: react-workshop
33+
target: scratch_react_workshop
34+
out: react-workshop.tar.gz
3235
- name: vue-starter
3336
target: scratch_vue_starter
3437
out: vue-starter.tar.gz
@@ -113,6 +116,12 @@ jobs:
113116
name: react-example.tar.gz
114117
path: .
115118

119+
- name: Download react-workshop
120+
uses: actions/download-artifact@v4
121+
with:
122+
name: react-workshop.tar.gz
123+
path: .
124+
116125
- name: Download vue-starter
117126
uses: actions/download-artifact@v4
118127
with:
@@ -165,6 +174,7 @@ jobs:
165174
./nextjs-example.tar.gz
166175
./react-starter.tar.gz
167176
./react-example.tar.gz
177+
./react-workshop.tar.gz
168178
./vue-starter.tar.gz
169179
./vue-example.tar.gz
170180
./angular-starter.tar.gz
@@ -210,6 +220,12 @@ jobs:
210220
name: react-example.tar.gz
211221
path: out/templates
212222

223+
- name: Download react-workshop
224+
uses: actions/download-artifact@v4
225+
with:
226+
name: react-workshop.tar.gz
227+
path: out/templates
228+
213229
- name: Download vue-starter
214230
uses: actions/download-artifact@v4
215231
with:

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ RUN ./docker/compress react-starter
3131
FROM deps as build_react_example
3232
RUN ./docker/compress react-example
3333

34+
FROM deps as build_react_workshop
35+
RUN ./docker/compress react-workshop
36+
3437
FROM deps as build_vue_starter
3538
RUN ./docker/compress vue-starter
3639

@@ -67,6 +70,9 @@ COPY --from=build_react_starter ./prepare/target/react-starter.tar.gz /
6770
FROM scratch AS scratch_react_example
6871
COPY --from=build_react_example ./prepare/target/react-example.tar.gz /
6972

73+
FROM scratch AS scratch_react_workshop
74+
COPY --from=build_react_workshop ./prepare/target/react-workshop.tar.gz /
75+
7076
FROM scratch AS scratch_vue_starter
7177
COPY --from=build_vue_starter ./prepare/target/vue-starter.tar.gz /
7278

0 commit comments

Comments
 (0)