Skip to content

Commit

Permalink
Create the release
Browse files Browse the repository at this point in the history
  • Loading branch information
hs-apotell committed Dec 5, 2023
1 parent a40e3b6 commit b1d476f
Showing 1 changed file with 57 additions and 57 deletions.
114 changes: 57 additions & 57 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,60 +77,60 @@ jobs:
ls -l
popd
# - name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ env.COMMITTED_AT }}
# release_name: ${{ env.MODULE_NAME }}
# draft: false
# prerelease: false
#
# - name: Upload Release Asset (jammy-gcc_debug)
# uses: actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: out/${{ env.ARTIFACT_JAMMY_GCC_DEBUG }}.tar.gz
# asset_name: ${{ env.ARTIFACT_JAMMY_GCC_DEBUG }}.tar.gz
# asset_content_type: application/zip
#
# - name: Upload Release Asset (jammy-gcc_release)
# uses: actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: out/${{ env.ARTIFACT_JAMMY_GCC_RELEASE }}.tar.gz
# asset_name: ${{ env.ARTIFACT_JAMMY_GCC_RELEASE }}.tar.gz
# asset_content_type: application/zip
#
# - name: Upload Release Asset (windows-cl_debug)
# uses: actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: out/${{ env.ARTIFACT_WINDOWS_CL_DEBUG }}.tar.gz
# asset_name: ${{ env.ARTIFACT_WINDOWS_CL_DEBUG }}.tar.gz
# asset_content_type: application/zip
#
# - name: Upload Release Asset (windows-cl_release)
# uses: actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: out/${{ env.ARTIFACT_WINDOWS_CL_RELEASE }}.tar.gz
# asset_name: ${{ env.ARTIFACT_WINDOWS_CL_RELEASE }}.tar.gz
# asset_content_type: application/zip
#
# - name: Delete some old releases
# uses: dev-drprasad/[email protected]
# with:
# keep_latest: 5
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.COMMITTED_AT }}
release_name: ${{ env.MODULE_NAME }}
draft: false
prerelease: false

- name: Upload Release Asset (jammy-gcc_debug)
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: out/${{ env.ARTIFACT_JAMMY_GCC_DEBUG }}.tar.gz
asset_name: ${{ env.ARTIFACT_JAMMY_GCC_DEBUG }}.tar.gz
asset_content_type: application/zip

- name: Upload Release Asset (jammy-gcc_release)
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: out/${{ env.ARTIFACT_JAMMY_GCC_RELEASE }}.tar.gz
asset_name: ${{ env.ARTIFACT_JAMMY_GCC_RELEASE }}.tar.gz
asset_content_type: application/zip

- name: Upload Release Asset (windows-cl_debug)
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: out/${{ env.ARTIFACT_WINDOWS_CL_DEBUG }}.tar.gz
asset_name: ${{ env.ARTIFACT_WINDOWS_CL_DEBUG }}.tar.gz
asset_content_type: application/zip

- name: Upload Release Asset (windows-cl_release)
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: out/${{ env.ARTIFACT_WINDOWS_CL_RELEASE }}.tar.gz
asset_name: ${{ env.ARTIFACT_WINDOWS_CL_RELEASE }}.tar.gz
asset_content_type: application/zip

- name: Delete some old releases
uses: dev-drprasad/[email protected]
with:
keep_latest: 5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b1d476f

Please sign in to comment.