|
1 |
| -name: "HTML5 build" |
2 |
| -on: push |
| 1 | +# name: "HTML5 build" |
| 2 | +# on: push |
3 | 3 |
|
4 |
| -env: |
5 |
| - GODOT_VERSION: 4.1 |
6 |
| - EXPORT_NAME: Gunner |
| 4 | +# env: |
| 5 | +# GODOT_VERSION: 4.1 |
| 6 | +# EXPORT_NAME: Gunner |
7 | 7 |
|
8 |
| -jobs: |
9 |
| - export-HTML5: |
10 |
| - name: HTML5 Export |
11 |
| - runs-on: ubuntu-latest |
12 |
| - container: |
13 |
| - image: thebigg1/godot-ci:v4.1.stable.official_970459615 |
14 |
| - steps: |
15 |
| - - name: Checkout |
16 |
| - uses: actions/checkout@v2 |
17 |
| - with: |
18 |
| - lfs: true |
19 |
| - - name: Coding Style |
20 |
| - run: | |
21 |
| - gdformat -c Gunner/src |
22 |
| - - name: Setup |
23 |
| - run: | |
24 |
| - mkdir -v -p ~/.local/share/godot/export_templates |
25 |
| - mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable |
26 |
| - - name: HTML5 Build |
27 |
| - run: | |
28 |
| - mkdir -v -p build/HTML5 |
29 |
| - cd $EXPORT_NAME |
30 |
| - godot --headless -v --export-debug "HTML5" ../build/HTML5/$EXPORT_NAME.html |
31 |
| - # - name: zip html build |
32 |
| - # run: | |
33 |
| - # zip build/HTML5/$EXPORT_NAME.zip build/HTML5/* |
34 |
| - # - name: Wrap inside redbean |
35 |
| - # run: | |
36 |
| - # chmod a+x /root/redbean.com |
37 |
| - # zip /root/redbean.com build/HTML5/* |
38 |
| - - name: Upload Artifact |
39 |
| - uses: actions/upload-artifact@v1 |
40 |
| - with: |
41 |
| - name: HTML5 |
42 |
| - path: build/HTML5 |
43 |
| - - name: Upload binaries to release |
44 |
| - uses: svenstaro/upload-release-action@v2 |
45 |
| - with: |
46 |
| - repo_token: ${{ secrets.GITHUB_TOKEN }} |
47 |
| - #Cannot use $EXPORT_NAME sadly |
48 |
| - file: build/HTML5/libgdexample.javascript.template_debug.wasm32.wasm |
49 |
| - asset_name: Gunner-continuous-build-HTML5.zip |
50 |
| - tag: continuous-build |
51 |
| - overwrite: true |
52 |
| - body: "Bleeding edge release for those who like to live on the edge :)" |
53 |
| - - name: Upload redbean binaries to release |
54 |
| - uses: svenstaro/upload-release-action@v2 |
55 |
| - with: |
56 |
| - repo_token: ${{ secrets.GITHUB_TOKEN }} |
57 |
| - #Cannot use $EXPORT_NAME sadly |
58 |
| - file: /root/redbean.com |
59 |
| - asset_name: Gunner-continuous-build-redbean-HTML5.com |
60 |
| - tag: continuous-build |
61 |
| - overwrite: true |
62 |
| - body: "Bleeding edge release for those who like to live on the edge :)" |
63 |
| - - name: Install rsync 📚 |
64 |
| - run: | |
65 |
| - apt-get update && apt-get install -y rsync |
66 |
| - - name: Configure git to trust the workspace despite the different owner |
67 |
| - run: |
68 |
| - git config --global --add safe.directory "$GITHUB_WORKSPACE" |
69 |
| - - name: Deploy to GitHub Pages 🚀 |
70 |
| - uses: JamesIves/github-pages-deploy-action@releases/v3 |
71 |
| - with: |
72 |
| - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
73 |
| - BRANCH: gh-pages # The branch the action should deploy to. |
74 |
| - FOLDER: build/HTML5 # The folder the action should deploy. |
| 8 | +# jobs: |
| 9 | +# export-HTML5: |
| 10 | +# name: HTML5 Export |
| 11 | +# runs-on: ubuntu-latest |
| 12 | +# container: |
| 13 | +# image: thebigg1/godot-ci:v4.1.stable.official_970459615 |
| 14 | +# steps: |
| 15 | +# - name: Checkout |
| 16 | +# uses: actions/checkout@v2 |
| 17 | +# with: |
| 18 | +# lfs: true |
| 19 | +# - name: Coding Style |
| 20 | +# run: | |
| 21 | +# gdformat -c Gunner/src |
| 22 | +# - name: Setup |
| 23 | +# run: | |
| 24 | +# mkdir -v -p ~/.local/share/godot/export_templates |
| 25 | +# mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable |
| 26 | +# - name: HTML5 Build |
| 27 | +# run: | |
| 28 | +# mkdir -v -p build/HTML5 |
| 29 | +# cd $EXPORT_NAME |
| 30 | +# godot --headless -v --export-debug "HTML5" ../build/HTML5/$EXPORT_NAME.html |
| 31 | +# # - name: zip html build |
| 32 | +# # run: | |
| 33 | +# # zip build/HTML5/$EXPORT_NAME.zip build/HTML5/* |
| 34 | +# # - name: Wrap inside redbean |
| 35 | +# # run: | |
| 36 | +# # chmod a+x /root/redbean.com |
| 37 | +# # zip /root/redbean.com build/HTML5/* |
| 38 | +# - name: Upload Artifact |
| 39 | +# uses: actions/upload-artifact@v1 |
| 40 | +# with: |
| 41 | +# name: HTML5 |
| 42 | +# path: build/HTML5 |
| 43 | +# - name: Upload binaries to release |
| 44 | +# uses: svenstaro/upload-release-action@v2 |
| 45 | +# with: |
| 46 | +# repo_token: ${{ secrets.GITHUB_TOKEN }} |
| 47 | +# #Cannot use $EXPORT_NAME sadly |
| 48 | +# file: build/HTML5/libgdexample.javascript.template_debug.wasm32.wasm |
| 49 | +# asset_name: Gunner-continuous-build-HTML5.zip |
| 50 | +# tag: continuous-build |
| 51 | +# overwrite: true |
| 52 | +# body: "Bleeding edge release for those who like to live on the edge :)" |
| 53 | +# - name: Upload redbean binaries to release |
| 54 | +# uses: svenstaro/upload-release-action@v2 |
| 55 | +# with: |
| 56 | +# repo_token: ${{ secrets.GITHUB_TOKEN }} |
| 57 | +# #Cannot use $EXPORT_NAME sadly |
| 58 | +# file: /root/redbean.com |
| 59 | +# asset_name: Gunner-continuous-build-redbean-HTML5.com |
| 60 | +# tag: continuous-build |
| 61 | +# overwrite: true |
| 62 | +# body: "Bleeding edge release for those who like to live on the edge :)" |
| 63 | +# - name: Install rsync 📚 |
| 64 | +# run: | |
| 65 | +# apt-get update && apt-get install -y rsync |
| 66 | +# - name: Configure git to trust the workspace despite the different owner |
| 67 | +# run: |
| 68 | +# git config --global --add safe.directory "$GITHUB_WORKSPACE" |
| 69 | +# - name: Deploy to GitHub Pages 🚀 |
| 70 | +# uses: JamesIves/github-pages-deploy-action@releases/v3 |
| 71 | +# with: |
| 72 | +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 73 | +# BRANCH: gh-pages # The branch the action should deploy to. |
| 74 | +# FOLDER: build/HTML5 # The folder the action should deploy. |
75 | 75 |
|
0 commit comments