File tree Expand file tree Collapse file tree 2 files changed +60
-1
lines changed
Expand file tree Collapse file tree 2 files changed +60
-1
lines changed Original file line number Diff line number Diff line change 22 push :
33 branches : master
44 tags : ' v*'
5+ workflow_dispatch :
6+
57
68jobs :
79 setup-java :
2123 - name : Release
2224 uses : softprops/action-gh-release@v2
2325 with :
24- files : target/minemoji-*.jar
26+ files : target/minemoji-*.jar
27+
Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : master
4+ tags : ' t*'
5+ workflow_dispatch :
6+
7+ permissions :
8+ contents : write
9+ pages : write
10+ id-token : write
11+
12+ jobs :
13+ deploy-pages :
14+ name : Deploy pages
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout submodules
18+ uses : actions/checkout@v5
19+ with :
20+ submodules : true
21+ - name : Download latest release
22+ uses : robinraju/release-downloader@v1
23+ with :
24+ latest : true
25+ fileName : ' minemoji-*.jar'
26+ tarBall : false
27+ zipBall : false
28+ - uses : actions/setup-java@v5
29+ with :
30+ distribution : ' temurin' # See 'Supported distributions' for available options
31+ java-version : ' 21'
32+ - run : >
33+ java -cp minemoji-*.jar com.github.cinnamondev.minemoji.PackMaker.PackMaker
34+ --input-directory ./sample_pack/input-directory
35+ --output-directory ./site/packs/minemoji-latest
36+ --prefix minemoji
37+ --pack-url https://cinnamondev.github.io/minemoji/packs/minemoji-latest.zip
38+ --zip-pack --delete-directory
39+ - run : >
40+ java -cp minemoji-*.jar com.github.cinnamondev.minemoji.PackMaker.PackMaker
41+ --input-directory ./twemoji/assets/svg/
42+ --output-directory ./site/packs/twemoji-latest
43+ --prefix emotes
44+ --skip-packgen
45+ --pack-url https://cinnamondev.github.io/minemoji/packs/twemoji-latest.zip
46+ --zip-pack --delete-directory
47+ - name : Setup Pages
48+ uses : actions/configure-pages@v5
49+ - name : Upload artifacts
50+ uses : actions/upload-pages-artifact@v3
51+ with :
52+ path : ' ./site/'
53+ - name : Deploy to github pages
54+ id : deployment
55+ uses : actions/deploy-pages@v4
56+
You can’t perform that action at this time.
0 commit comments