Skip to content

Commit e53f39a

Browse files
committed
Add a test-publish step to explore arm64 output
1 parent 9aba6fa commit e53f39a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,33 @@ jobs:
7575
name: ${{ matrix.platform }}-${{ matrix.arch }}-distributables
7676
path: dist/HttpToolkit-*
7777
if-no-files-found: error
78+
wip-publish-test:
79+
name: Fake test publish
80+
runs-on: "ubuntu-24.04"
81+
if: github.event_name == 'push' && github.ref == 'refs/heads/arm64-test'
82+
steps:
83+
- name: Get all distributables
84+
uses: actions/download-artifact@v4
85+
86+
- name: Create Release
87+
id: create_release
88+
uses: actions/create-release@v1
89+
env:
90+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91+
with:
92+
tag_name: arm64-test-release
93+
release_name: arm64-test-release
94+
prerelease: true
95+
96+
- name: Upload Release Assets
97+
id: upload-release-assets
98+
uses: dwenegar/upload-release-assets@v1
99+
env:
100+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101+
with:
102+
release_id: ${{ steps.create_release.outputs.id }}
103+
assets_path: ./*/
104+
78105
publish:
79106
name: Publish a release
80107
runs-on: "ubuntu-20.04"

0 commit comments

Comments
 (0)