File tree Expand file tree Collapse file tree 4 files changed +46
-2
lines changed Expand file tree Collapse file tree 4 files changed +46
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ permissions:
1111
1212env :
1313 CV_BASE_NAME : cv-franci-matteo
14+ CV_EUROPASS_BASE_NAME : cv-europass-franci-matteo
1415
1516jobs :
1617
4849
4950 - name : Upload release artifact
5051 run : gh release upload ${{github.event.release.tag_name}} target/site/$CV_BASE_NAME-${{ github.ref_name }}.pdf
52+ env :
53+ GITHUB_TOKEN : ${{ github.TOKEN }}
54+
55+ - name : Create release artifact EuroPass
56+ run : cp -fr target/site/$CV_EUROPASS_BASE_NAME.pdf target/site/$CV_EUROPASS_BASE_NAME-${{ github.ref_name }}.pdf
57+
58+ - name : Upload release artifact EuroPass
59+ run : gh release upload ${{github.event.release.tag_name}} target/site/$CV_EUROPASS_BASE_NAME-${{ github.ref_name }}.pdf
5160 env :
5261 GITHUB_TOKEN : ${{ github.TOKEN }}
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ e il progetto si conforma al [Versionamento semantico](https://semver.org/spec/v
99
1010### Aggiunto
1111
12- - Versione EUROPASS estesa Curriculum Vitae
12+ - Modificati workflow per EuroPass
13+ - Versione EuroPass estesa Curriculum Vitae
1314
1415## [ 1.2.0] - 2025-03-06
1516
Original file line number Diff line number Diff line change @@ -38,4 +38,19 @@ Questo progetto è basato su :
3838
3939## Convenzioni
4040
41- Per i commit viene usata la specifica [ Conventional Commits] ( https://www.conventionalcommits.org/ )
41+ Per i commit viene usata la specifica [ Conventional Commits] ( https://www.conventionalcommits.org/ )
42+
43+ ## Versione EuroPass
44+
45+ Esiste anche una versione che prova a replicare il formato EuroPass, anche se con delle limitazioni.
46+
47+ Build locale :
48+
49+ ``` shell
50+ npm install
51+ ```
52+
53+ ``` shell
54+ cd europass
55+ ../node_modules/asciidoctor-pdf/bin/asciidoctor-web-pdf europass-cv.adoc --template-require ./europass-template.js -o europass-cv.pdf
56+ ```
Original file line number Diff line number Diff line change 2424 <cv .dir>${project.basedir} </cv .dir>
2525 <cv .out>${project.basedir} /target/site</cv .out>
2626 <cv .pdf>cv-franci-matteo.pdf</cv .pdf>
27+ <cv .europass.pdf>cv-europass-franci-matteo.pdf</cv .europass.pdf>
2728 </properties >
2829
2930 <organization >
103104 <workingDirectory >${cv.dir} </workingDirectory >
104105 </configuration >
105106 </execution >
107+ <execution >
108+ <id >asciidoc generation europass</id >
109+ <goals >
110+ <goal >exec</goal >
111+ </goals >
112+ <phase >compile</phase >
113+ <configuration >
114+ <executable >${project.basedir} /node_modules/asciidoctor-pdf/bin/asciidoctor-web-pdf</executable >
115+ <arguments >
116+ <argument >-o</argument >
117+ <argument >${cv.out} /${cv.europass.pdf} </argument >
118+ <argument >${project.basedir} /europass/europass-cv.adoc</argument >
119+ <argument >--template-require</argument >
120+ <argument >${project.basedir} /europass/europass-template.js</argument >
121+ </arguments >
122+ <workingDirectory >${cv.dir} /europass</workingDirectory >
123+ </configuration >
124+ </execution >
106125 </executions >
107126
108127 </plugin >
You can’t perform that action at this time.
0 commit comments