@robotical/martyblocks 1.4.25 → 1.4.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,10 @@
1
1
  name: Build and publish to npm
2
2
 
3
- on:
4
- release:
5
- types: [created]
3
+ # on:
4
+ # release:
5
+ # types: [created]
6
+ on: workflow_dispatch
7
+
6
8
 
7
9
  jobs:
8
10
  build_and_release:
@@ -25,7 +27,7 @@ jobs:
25
27
 
26
28
  - uses: actions/setup-python@v4
27
29
  with:
28
- python-version: '2.7'
30
+ python-version: '2.7.18'
29
31
 
30
32
  - name: Use Node.js 16.15.0
31
33
  uses: actions/setup-node@v2
@@ -90,16 +92,19 @@ jobs:
90
92
  - name: Build Blocks
91
93
  run: |
92
94
  cd ${{ env.blocks_original }}
95
+ export LC_ALL=en_US.UTF-8
93
96
  npm run prepublish
94
97
 
95
98
  - name: Build VM
96
99
  run: |
97
100
  cd ${{ env.vm_original }}
101
+ export LC_ALL=en_US.UTF-8
98
102
  npm run build
99
103
 
100
104
  - name: Build Scratch
101
105
  run: |
102
106
  cd ${{ env.gui_original }}
107
+ export LC_ALL=en_US.UTF-8
103
108
  BUILD_MODE=dist npm run build
104
109
 
105
110
  - name: Copy dist files
@@ -110,7 +115,7 @@ jobs:
110
115
  # Setup .npmrc file to publish to npm
111
116
  - uses: actions/setup-node@v2
112
117
  with:
113
- node-version: "16.x"
118
+ node-version: "16.15.0"
114
119
  registry-url: "https://registry.npmjs.org"
115
120
  - run: npm publish
116
121
  env: