70
70
run : |
71
71
mkdir -p build
72
72
cd build
73
- cmake -DPY3LM_GITHUB_ACTIONS=1 -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DPY3LM_VERSION="${{ needs.setup.outputs.tag_name }}" -DPY3LM_PACKAGE="py3lm-build-${{ needs.setup.outputs.tag_name }}-windows -${{ env.GITHUB_SHA_SHORT }}" ..
73
+ cmake -DPY3LM_GITHUB_ACTIONS=1 -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DPY3LM_VERSION="${{ needs.setup.outputs.tag_name }}" -DPY3LM_PACKAGE="py3lm-build-${{ needs.setup.outputs.tag_name }}-windows_x64 -${{ env.GITHUB_SHA_SHORT }}" ..
74
74
cmake --build . --target plugify-module-python3.12 --config ${{ env.BUILD_TYPE }} -- /m
75
75
76
76
- name : Clean build directory
94
94
95
95
- uses : actions/upload-artifact@v4
96
96
with :
97
- name : py3lm-build-windows -${{ env.GITHUB_SHA_SHORT }}
97
+ name : py3lm-build-windows_x64 -${{ env.GITHUB_SHA_SHORT }}
98
98
path : build/output/
99
99
100
100
build_linux :
@@ -121,7 +121,7 @@ jobs:
121
121
run : |
122
122
mkdir -p build
123
123
cd build
124
- cmake -DPY3LM_GITHUB_ACTIONS=1 -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DPY3LM_VERSION="${{ needs.setup.outputs.tag_name }}" -DPY3LM_PACKAGE="py3lm-build-${{ needs.setup.outputs.tag_name }}-linux -${{ env.GITHUB_SHA_SHORT }}" ..
124
+ cmake -DPY3LM_GITHUB_ACTIONS=1 -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DPY3LM_VERSION="${{ needs.setup.outputs.tag_name }}" -DPY3LM_PACKAGE="py3lm-build-${{ needs.setup.outputs.tag_name }}-steamrt_x64 -${{ env.GITHUB_SHA_SHORT }}" ..
125
125
cmake --build . --target plugify-module-python3.12 --config ${{ env.BUILD_TYPE }} -- -j
126
126
127
127
- name : Clean build directory
@@ -139,7 +139,7 @@ jobs:
139
139
140
140
- uses : actions/upload-artifact@v4
141
141
with :
142
- name : py3lm-build-linux -${{ env.GITHUB_SHA_SHORT }}
142
+ name : py3lm-build-steamrt_x64 -${{ env.GITHUB_SHA_SHORT }}
143
143
path : build/output/
144
144
145
145
publish :
@@ -159,32 +159,32 @@ jobs:
159
159
160
160
- uses : actions/download-artifact@v4
161
161
with :
162
- name : py3lm-build-windows -${{ env.GITHUB_SHA_SHORT }}
162
+ name : py3lm-build-windows_x64 -${{ env.GITHUB_SHA_SHORT }}
163
163
path : build/windows
164
164
165
165
- uses : actions/download-artifact@v4
166
166
with :
167
- name : py3lm-build-linux -${{ env.GITHUB_SHA_SHORT }}
167
+ name : py3lm-build-steamrt_x64 -${{ env.GITHUB_SHA_SHORT }}
168
168
path : build/linux
169
169
170
170
- name : Zip Builds
171
171
run : |
172
- (cd build/linux && zip -qq -r ../../py3lm-build-${{ needs.setup.outputs.tag_name }}-linux -${{ env.GITHUB_SHA_SHORT }}.zip *)
173
- (cd build/windows && zip -qq -r ../../py3lm-build-${{ needs.setup.outputs.tag_name }}-windows -${{ env.GITHUB_SHA_SHORT }}.zip *)
172
+ (cd build/linux && zip -qq -r ../../py3lm-build-${{ needs.setup.outputs.tag_name }}-steamrt_x64 -${{ env.GITHUB_SHA_SHORT }}.zip *)
173
+ (cd build/windows && zip -qq -r ../../py3lm-build-${{ needs.setup.outputs.tag_name }}-windows_x64 -${{ env.GITHUB_SHA_SHORT }}.zip *)
174
174
175
175
- id : linux
176
- run : echo "checksum=$(sha256sum py3lm-build-${{ needs.setup.outputs.tag_name }}-linux -${{ env.GITHUB_SHA_SHORT }}.zip | cut -d' ' -f1)" >> $GITHUB_OUTPUT
176
+ run : echo "checksum=$(sha256sum py3lm-build-${{ needs.setup.outputs.tag_name }}-steamrt_x64 -${{ env.GITHUB_SHA_SHORT }}.zip | cut -d' ' -f1)" >> $GITHUB_OUTPUT
177
177
- id : windows
178
- run : echo "checksum=$(sha256sum py3lm-build-${{ needs.setup.outputs.tag_name }}-windows -${{ env.GITHUB_SHA_SHORT }}.zip | cut -d' ' -f1)" >> $GITHUB_OUTPUT
178
+ run : echo "checksum=$(sha256sum py3lm-build-${{ needs.setup.outputs.tag_name }}-windows_x64 -${{ env.GITHUB_SHA_SHORT }}.zip | cut -d' ' -f1)" >> $GITHUB_OUTPUT
179
179
180
180
- name : Release
181
181
id : release
182
182
uses : softprops/action-gh-release@v1
183
183
with :
184
184
tag_name : ${{ needs.setup.outputs.tag_name }}
185
185
files : |
186
- py3lm-build-${{ needs.setup.outputs.tag_name }}-windows -${{ env.GITHUB_SHA_SHORT }}.zip
187
- py3lm-build-${{ needs.setup.outputs.tag_name }}-linux -${{ env.GITHUB_SHA_SHORT }}.zip
186
+ py3lm-build-${{ needs.setup.outputs.tag_name }}-windows_x64 -${{ env.GITHUB_SHA_SHORT }}.zip
187
+ py3lm-build-${{ needs.setup.outputs.tag_name }}-steamrt_x64 -${{ env.GITHUB_SHA_SHORT }}.zip
188
188
189
189
repository :
190
190
permissions :
@@ -270,8 +270,8 @@ jobs:
270
270
return data
271
271
272
272
data = load_json_from_url(json_url)
273
- data = append_new_version(data, version_tag, checksum_windows, package_name, "windows-x64 ")
274
- data = append_new_version(data, version_tag, checksum_linux, package_name, "steamrt-x64 ")
273
+ data = append_new_version(data, version_tag, checksum_windows, package_name, "windows_x64 ")
274
+ data = append_new_version(data, version_tag, checksum_linux, package_name, "steamrt_x64 ")
275
275
save_json('build/repo/plugify-module-python3.12.json', data)
276
276
277
277
- name : Upload artifact
0 commit comments