Skip to content

Commit

Permalink
Looks like the github action create-release finally died. Replaced.
Browse files Browse the repository at this point in the history
  • Loading branch information
ned14 committed Dec 12, 2024
1 parent 50c7364 commit 2d1e2a2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 93 deletions.
107 changes: 15 additions & 92 deletions .github/workflows/make_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,25 @@ jobs:
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Rename artifacts
if: steps.waitforstatuschecks.outputs.status == 'success'
shell: bash
run: |
mv "artifacts/Linux error_code g++ prebuilt binaries/llfio-v2.0-binaries-linux-x64.tgz" llfio-v2.0-binaries-ubuntu20.04-x64-error_code.tgz
mv "artifacts/Linux status_code g++ prebuilt binaries/llfio-v2.0-binaries-linux-x64.tgz" llfio-v2.0-binaries-ubuntu20.04-x64-status_code.tgz
mv "artifacts/Linux error_code arm-linux-gnueabihf-g++ prebuilt binaries/llfio-v2.0-binaries-linux-armhf.tgz" llfio-v2.0-binaries-ubuntu20.04-armhf-error_code.tgz
mv "artifacts/Mac OS error_code prebuilt binaries/llfio-v2.0-binaries-darwin-arm64.tgz" llfio-v2.0-binaries-macos-arm64-error_code.tgz
mv "artifacts/Mac OS status_code prebuilt binaries/llfio-v2.0-binaries-darwin-arm64.tgz" llfio-v2.0-binaries-macos-arm64-status_code.tgz
mv "artifacts/Windows VS2022 error_code prebuilt binaries/llfio-v2.0-binaries-win64.zip" llfio-v2.0-binaries-win64-vs2022-error_code.zip
mv "artifacts/Windows VS2022 status_code prebuilt binaries/llfio-v2.0-binaries-win64.zip" llfio-v2.0-binaries-win64-vs2022-status_code.zip
- name: Create Release
id: create_release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
if: steps.waitforstatuschecks.outputs.status == 'success'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: all_tests_passed_${{ github.sha }}
release_name: All tests passed ${{ github.sha }}
name: All tests passed ${{ github.sha }}
body: |
```
${{ github.event.head_commit.message }}
Expand All @@ -79,91 +89,4 @@ jobs:
Prebuilt binaries with development headers and documentation for common platforms are in Assets below:
draft: false
prerelease: true

- name: Upload Linux 1
uses: actions/upload-release-asset@v1
if: steps.waitforstatuschecks.outputs.status == 'success'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: artifacts/Linux error_code g++ prebuilt binaries/llfio-v2.0-binaries-linux-x64.tgz
asset_name: llfio-v2.0-binaries-ubuntu20.04-x64-error_code.tgz
asset_content_type: application/gzip

- name: Upload Linux 2
uses: actions/upload-release-asset@v1
if: steps.waitforstatuschecks.outputs.status == 'success'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: artifacts/Linux status_code g++ prebuilt binaries/llfio-v2.0-binaries-linux-x64.tgz
asset_name: llfio-v2.0-binaries-ubuntu20.04-x64-status_code.tgz
asset_content_type: application/gzip

- name: Upload Linux 3
uses: actions/upload-release-asset@v1
if: steps.waitforstatuschecks.outputs.status == 'success'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: artifacts/Linux error_code arm-linux-gnueabihf-g++ prebuilt binaries/llfio-v2.0-binaries-linux-armhf.tgz
asset_name: llfio-v2.0-binaries-ubuntu20.04-armhf-error_code.tgz
asset_content_type: application/gzip

- name: Upload Linux 4
uses: actions/upload-release-asset@v1
if: steps.waitforstatuschecks.outputs.status == 'success'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: artifacts/Linux status_code arm-linux-gnueabihf-g++ prebuilt binaries/llfio-v2.0-binaries-linux-armhf.tgz
asset_name: llfio-v2.0-binaries-ubuntu20.04-armhf-status_code.tgz
asset_content_type: application/gzip

- name: Upload MacOS 1
uses: actions/upload-release-asset@v1
if: steps.waitforstatuschecks.outputs.status == 'success'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: artifacts/Mac OS error_code prebuilt binaries/llfio-v2.0-binaries-darwin-arm64.tgz
asset_name: llfio-v2.0-binaries-macos-arm64-error_code.tgz
asset_content_type: application/gzip

- name: Upload MacOS 2
uses: actions/upload-release-asset@v1
if: steps.waitforstatuschecks.outputs.status == 'success'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: artifacts/Mac OS status_code prebuilt binaries/llfio-v2.0-binaries-darwin-arm64.tgz
asset_name: llfio-v2.0-binaries-macos-arm64-status_code.tgz
asset_content_type: application/gzip

- name: Upload Windows 1
uses: actions/upload-release-asset@v1
if: steps.waitforstatuschecks.outputs.status == 'success'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: artifacts/Windows VS2022 error_code prebuilt binaries/llfio-v2.0-binaries-win64.zip
asset_name: llfio-v2.0-binaries-win64-vs2022-error_code.zip
asset_content_type: application/zip

- name: Upload Windows 2
uses: actions/upload-release-asset@v1
if: steps.waitforstatuschecks.outputs.status == 'success'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: artifacts/Windows VS2022 status_code prebuilt binaries/llfio-v2.0-binaries-win64.zip
asset_name: llfio-v2.0-binaries-win64-vs2022-status_code.zip
asset_content_type: application/zip
files: llfio-v2.0-binaries-*
2 changes: 1 addition & 1 deletion doc/html
Submodule html updated 85 files
+37 −37 classllfio__v2__xxx_1_1path__view-members.html
+163 −166 classllfio__v2__xxx_1_1path__view.html
+20 −20 classllfio__v2__xxx_1_1path__view.js
+21 −21 classllfio__v2__xxx_1_1path__view__component-members.html
+112 −115 classllfio__v2__xxx_1_1path__view__component.html
+20 −20 classllfio__v2__xxx_1_1path__view__component.js
+2 −2 classllfio__v2__xxx_1_1path__view__component_1_1rendered__path-members.html
+21 −21 classllfio__v2__xxx_1_1path__view__component_1_1rendered__path.html
+1 −1 classllfio__v2__xxx_1_1path__view__component_1_1rendered__path.js
+9 −0 config_8hpp.html
+3 −0 config_8hpp.js
+2 −2 functions_enum.html
+2 −2 functions_eval.html
+3 −3 functions_func_h.html
+11 −13 functions_func_o.html
+1 −1 functions_func_p.html
+2 −2 functions_func_r.html
+5 −1 functions_func_t.html
+0 −4 functions_func_z.html
+3 −3 functions_h.html
+2 −2 functions_n.html
+10 −12 functions_o.html
+1 −1 functions_p.html
+2 −2 functions_r.html
+5 −1 functions_t.html
+2 −2 functions_type.html
+2 −6 functions_z.html
+2 −2 group__config.html
+1 −1 index.html
+42 −13 md__build.html
+21 −21 navtreedata.js
+19 −19 navtreeindex0.js
+17 −17 navtreeindex1.js
+18 −18 navtreeindex10.js
+17 −17 navtreeindex11.js
+47 −47 navtreeindex12.js
+41 −41 navtreeindex13.js
+20 −20 navtreeindex14.js
+48 −48 navtreeindex15.js
+20 −20 navtreeindex16.js
+34 −34 navtreeindex17.js
+18 −18 navtreeindex18.js
+18 −18 navtreeindex19.js
+17 −17 navtreeindex2.js
+20 −19 navtreeindex20.js
+17 −17 navtreeindex3.js
+17 −17 navtreeindex4.js
+17 −17 navtreeindex5.js
+17 −17 navtreeindex6.js
+17 −17 navtreeindex7.js
+17 −17 navtreeindex8.js
+66 −66 navtreeindex9.js
+2 −2 search/all_11.js
+36 −35 search/all_13.js
+28 −28 search/all_14.js
+10 −10 search/all_15.js
+23 −23 search/all_16.js
+3 −3 search/all_17.js
+4 −5 search/all_18.js
+7 −7 search/all_8.js
+2 −2 search/all_d.js
+9 −9 search/all_e.js
+2 −2 search/all_f.js
+1 −1 search/enums_9.js
+1 −1 search/enums_a.js
+1 −1 search/enumvalues_13.js
+1 −1 search/enumvalues_a.js
+2 −2 search/functions_11.js
+14 −13 search/functions_13.js
+15 −15 search/functions_14.js
+4 −4 search/functions_15.js
+10 −10 search/functions_16.js
+2 −3 search/functions_17.js
+7 −7 search/functions_8.js
+4 −4 search/functions_e.js
+2 −2 search/functions_f.js
+1 −1 search/searchdata.js
+1 −1 search/typedefs_13.js
+1 −1 search/typedefs_b.js
+2 −4 structllfio__v2__xxx_1_1byte__io__multiplexer_1_1awaitable-members.html
+0 −8 structllfio__v2__xxx_1_1byte__io__multiplexer_1_1awaitable.html
+0 −2 structllfio__v2__xxx_1_1byte__io__multiplexer_1_1awaitable.js
+20 −20 structllfio__v2__xxx_1_1error__info.html
+2 −2 todo.html
+0 −2 v2_80_2llfio_8hpp.html

0 comments on commit 2d1e2a2

Please sign in to comment.