Skip to content

Commit 685ce6d

Browse files
committed
Upload to release
1 parent c130bf8 commit 685ce6d

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,20 @@ jobs:
2020
run: ./build-newlib
2121

2222
- name: Build libstdc++
23-
run: ./build-libstdc++
23+
run: ./build-libstdc++
24+
25+
- name: Package
26+
if: github.event_name == 'release'
27+
shell: bash
28+
run: 7z a stdlibs.zip no-pic pic
29+
30+
- name: Upload
31+
if: github.event_name == 'release'
32+
uses: actions/upload-release-asset@v1
33+
env:
34+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
35+
with:
36+
asset_path: ./stdlibs.zip
37+
upload_url: ${{github.event.release.upload_url}}
38+
asset_name: stdlibs.zip
39+
asset_content_type: application/zip

0 commit comments

Comments
 (0)