Skip to content

Commit c6f664c

Browse files
committed
Add a test-publish step to explore arm64 output
1 parent 60aadab commit c6f664c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,34 @@ 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+
needs: build
83+
steps:
84+
- name: Get all distributables
85+
uses: actions/download-artifact@v4
86+
87+
- name: Create Release
88+
id: create_release
89+
uses: actions/create-release@v1
90+
env:
91+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92+
with:
93+
tag_name: arm64-test-release
94+
release_name: arm64-test-release
95+
prerelease: true
96+
97+
- name: Upload Release Assets
98+
id: upload-release-assets
99+
uses: dwenegar/upload-release-assets@v1
100+
env:
101+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102+
with:
103+
release_id: ${{ steps.create_release.outputs.id }}
104+
assets_path: ./*/
105+
78106
publish:
79107
name: Publish a release
80108
runs-on: "ubuntu-20.04"

0 commit comments

Comments
 (0)