Skip to content

Commit fc957cc

Browse files
committed
Use github hosted runners
1 parent 9ef0bb6 commit fc957cc

3 files changed

Lines changed: 30 additions & 6 deletions

File tree

.github/workflows/deploy-package-action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ jobs:
2626
name: Python Wheel aarch64
2727
path: dist
2828

29+
- name: Download Windows Python Package Artifacts
30+
uses: actions/download-artifact@v4
31+
with:
32+
name: Python Wheel Windows
33+
path: dist
34+
2935
- name: List dist directory
3036
run: ls -la dist/
3137

.github/workflows/github-release.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ jobs:
3030
name: Python Wheel aarch64
3131
path: dist
3232

33+
- name: Download Windows Python Package Artifacts
34+
uses: actions/download-artifact@v4
35+
with:
36+
name: Python Wheel Windows
37+
path: dist
38+
3339
- name: Create Release
3440
id: create_release
3541
uses: actions/create-release@v1
@@ -39,7 +45,7 @@ jobs:
3945
tag_name: "v${{ inputs.version }}"
4046
release_name: "Release v${{ inputs.version }}"
4147
body: |
42-
Release ${{ needs.build-python-package.outputs.version }}
48+
Release ${{ inputs.version }}
4349
draft: false
4450
prerelease: false
4551

@@ -75,3 +81,14 @@ jobs:
7581
asset_path: dist/gdbdbg-${{ inputs.version }}-py3-none-manylinux_2_17_aarch64.whl
7682
asset_name: gdbdbg-${{ inputs.version }}-py3-none-manylinux_2_17_aarch64.whl
7783
asset_content_type: application/zip
84+
85+
- name: Upload Windows Wheel
86+
id: upload-release-asset-windows
87+
uses: actions/upload-release-asset@v1
88+
env:
89+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
90+
with:
91+
upload_url: ${{ steps.create_release.outputs.upload_url }}
92+
asset_path: dist/gdbdbg-${{ inputs.version }}-py3-none-win_amd64.whl
93+
asset_name: gdbdbg-${{ inputs.version }}-py3-none-win_amd64.whl
94+
asset_content_type: application/zip

.github/workflows/package-action.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,13 @@ jobs:
5050
host:
5151
- x86_64
5252
- aarch64
53+
include:
54+
- host: x86_64
55+
runner: ubuntu-latest
56+
- host: aarch64
57+
runner: ubuntu-24.04-arm
5358

54-
runs-on:
55-
- self-hosted
56-
- linux
57-
- src-build
58-
- ${{ matrix.host }}
59+
runs-on: ${{ matrix.runner }}
5960

6061
container:
6162
image: debian:11

0 commit comments

Comments
 (0)