Skip to content

Commit 517805e

Browse files
ci(all-ci/cd-files): attempt to fix broken ci/cd
removes all non github zip/sha files from the ci/cd process Signed-off-by: Mythical-Github <MythicalData@gmail.com>
1 parent 1f99ee1 commit 517805e

File tree

19 files changed

+4
-449
lines changed

19 files changed

+4
-449
lines changed

.github/workflows/dev_releases.yml

Lines changed: 2 additions & 153 deletions
Original file line numberDiff line numberDiff line change
@@ -36,36 +36,6 @@ jobs:
3636
name: ue4ss_installer_gui_x86_64-unknown-linux-gnu
3737
path: dist/ue4ss_installer_gui_x86_64-unknown-linux-gnu.zip
3838

39-
setup_ubuntu_aarch64:
40-
if: github.ref == 'refs/heads/main'
41-
runs-on: ubuntu-24.04-arm
42-
steps:
43-
- name: Checkout repository
44-
uses: actions/checkout@v4
45-
with:
46-
ref: 'refs/heads/dev'
47-
48-
- name: Setup Python (arm64)
49-
uses: actions/setup-python@v5
50-
with:
51-
python-version: 3.x
52-
architecture: "arm64"
53-
54-
- name: Install Hatch
55-
run: pip install hatch
56-
57-
- name: Create Hatch virtual environment for aarch64-linux
58-
run: hatch env create aarch64-unknown-linux-gnu
59-
60-
- name: Build Release
61-
run: hatch run py_project_dev_tools make_exe_release_ci_cd --os_arch_line "aarch64-unknown-linux-gnu"
62-
63-
- name: Upload artifact
64-
uses: actions/upload-artifact@v4
65-
with:
66-
name: ue4ss_installer_gui_aarch64-unknown-linux-gnu
67-
path: dist/ue4ss_installer_gui_aarch64-unknown-linux-gnu.zip
68-
6939
setup_windows_x86_64:
7040
if: github.ref == 'refs/heads/main'
7141
runs-on: windows-latest
@@ -96,39 +66,9 @@ jobs:
9666
name: ue4ss_installer_gui_x86_64-pc-windows-msvc
9767
path: dist/ue4ss_installer_gui_x86_64-pc-windows-msvc.zip
9868

99-
setup_windows_i686:
100-
if: github.ref == 'refs/heads/main'
101-
runs-on: windows-latest
102-
steps:
103-
- name: Checkout repository
104-
uses: actions/checkout@v4
105-
with:
106-
ref: 'refs/heads/dev'
107-
108-
- name: Setup Python (x86)
109-
uses: actions/setup-python@v5
110-
with:
111-
python-version: 3.x
112-
architecture: "x86"
113-
114-
- name: Install Hatch
115-
run: pip install hatch
116-
117-
- name: Create Hatch virtual environment for i686-windows
118-
run: hatch env create i686-pc-windows-msvc
119-
120-
- name: Build Release
121-
run: hatch run py_project_dev_tools make_exe_release_ci_cd --os_arch_line "i686-pc-windows-msvc"
122-
123-
- name: Upload artifact
124-
uses: actions/upload-artifact@v4
125-
with:
126-
name: ue4ss_installer_gui_i686-pc-windows-msvc
127-
path: dist/ue4ss_installer_gui_i686-pc-windows-msvc.zip
128-
12969
bump_version:
13070
runs-on: ubuntu-latest
131-
needs: [setup_ubuntu_x86_64, setup_ubuntu_aarch64, setup_windows_x86_64, setup_windows_i686]
71+
needs: [setup_ubuntu_x86_64, setup_windows_x86_64]
13272
steps:
13373
- name: Check out
13474
uses: actions/checkout@v4
@@ -160,111 +100,22 @@ jobs:
160100
name: body.md
161101
path: body.md
162102

163-
164-
165-
setup_wheels_and_source_distributions:
166-
runs-on: ubuntu-latest
167-
outputs:
168-
wheel_artifact_name: ${{ steps.find_wheel.outputs.artifact_name }}
169-
sdist_artifact_name: ${{ steps.find_sdist.outputs.artifact_name }}
170-
needs: [bump_version]
171-
steps:
172-
- name: Checkout repository
173-
uses: actions/checkout@v4
174-
with:
175-
ref: 'refs/heads/dev'
176-
177-
- name: Setup Python (x64)
178-
uses: actions/setup-python@v5
179-
with:
180-
python-version: 3.x
181-
architecture: "x64"
182-
183-
- name: Install Hatch
184-
run: pip install hatch
185-
186-
- name: Build Wheels and Source Distributions
187-
run: hatch build
188-
189-
# - name: Publish Wheels and Source Distributions
190-
# run: hatch publish --repo "main" --user "__token__" --auth "${{ secrets.PYPI_PASSWORD }}"
191-
192-
- name: Find wheel file
193-
id: find_wheel
194-
run: |
195-
WHEEL_PATH=$(find dist -name "*.whl" | head -n 1)
196-
WHEEL_NAME=$(basename "$WHEEL_PATH")
197-
ARTIFACT_NAME="${WHEEL_NAME%.whl}"
198-
echo "wheel_path=$WHEEL_PATH" >> "$GITHUB_OUTPUT"
199-
echo "artifact_name=$ARTIFACT_NAME" >> "$GITHUB_OUTPUT"
200-
201-
- name: Upload python wheel artifact
202-
uses: actions/upload-artifact@v4
203-
with:
204-
name: ${{ steps.find_wheel.outputs.artifact_name }}
205-
path: ${{ steps.find_wheel.outputs.wheel_path }}
206-
207-
- name: Find sdist file
208-
id: find_sdist
209-
run: |
210-
SDIST_PATH=$(find dist -name "*.tar.gz" | head -n 1)
211-
SDIST_NAME=$(basename "$SDIST_PATH")
212-
ARTIFACT_NAME="${SDIST_NAME%.tar.gz}"
213-
echo "sdist_path=$SDIST_PATH" >> "$GITHUB_OUTPUT"
214-
echo "artifact_name=$ARTIFACT_NAME" >> "$GITHUB_OUTPUT"
215-
216-
- name: Upload python sdist artifact
217-
uses: actions/upload-artifact@v4
218-
with:
219-
name: ${{ steps.find_sdist.outputs.artifact_name }}
220-
path: ${{ steps.find_sdist.outputs.sdist_path }}
221-
222103
setup_github_releases:
223104
runs-on: ubuntu-latest
224-
needs: [setup_wheels_and_source_distributions]
105+
needs: [bump_version]
225106
steps:
226107
- name: Download ubuntu_x86_64_artifact
227108
uses: actions/download-artifact@v4
228109
with:
229110
name: ue4ss_installer_gui_x86_64-unknown-linux-gnu
230111
path: ./dist
231112

232-
- name: Download ubuntu_aarch64_artifact
233-
uses: actions/download-artifact@v4
234-
with:
235-
name: ue4ss_installer_gui_aarch64-unknown-linux-gnu
236-
path: ./dist
237-
238113
- name: Download windows_x86_64_artifact
239114
uses: actions/download-artifact@v4
240115
with:
241116
name: ue4ss_installer_gui_x86_64-pc-windows-msvc
242117
path: ./dist
243118

244-
- name: Download windows_i686_artifact
245-
uses: actions/download-artifact@v4
246-
with:
247-
name: ue4ss_installer_gui_i686-pc-windows-msvc
248-
path: ./dist
249-
250-
- name: Download windows_i686_artifact
251-
uses: actions/download-artifact@v4
252-
with:
253-
name: ue4ss_installer_gui_i686-pc-windows-msvc
254-
path: ./dist
255-
256-
- name: Download python_wheel_artifact
257-
uses: actions/download-artifact@v4
258-
with:
259-
name: ${{ needs.setup_wheels_and_source_distributions.outputs.wheel_artifact_name }}
260-
path: ./dist
261-
262-
- name: Download python_sdist_artifact
263-
uses: actions/download-artifact@v4
264-
with:
265-
name: ${{ needs.setup_wheels_and_source_distributions.outputs.sdist_artifact_name }}
266-
path: ./dist
267-
268119
- name: Download version.txt artifact
269120
uses: actions/download-artifact@v4
270121
with:
@@ -320,8 +171,6 @@ jobs:
320171
tag_name: ${{ steps.extract_version.outputs.version }}
321172
files: |
322173
dist/*.zip
323-
dist/*.whl
324-
dist/*.tar.gz
325174
dist/*.sha256
326175
prerelease: true
327176
env:

.github/workflows/github_pages.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)