-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Morgritech/release/v1rc1
CI/CD workflow updates
- Loading branch information
Showing
5 changed files
with
62 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Release binaries | ||
on: | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
generate-binaries: | ||
name: Call workflow to generate binaries | ||
uses: ./.github/workflows/generate-binaries.yaml | ||
|
||
release-binaries: | ||
name: Release binaries | ||
runs-on: ubuntu-latest | ||
env: | ||
# Environment variables | ||
ARTIFACT_NAME: binaries | ||
needs: generate-binaries | ||
steps: | ||
- name: Download binaries | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ env.ARTIFACT_NAME }} | ||
- name: Verify artifact download (Debugging) | ||
run: ls -R | ||
- name: Archive binaries | ||
uses: thedoctor0/zip-release@master | ||
with: | ||
filename: ${{ env.ARTIFACT_NAME }}.zip | ||
- name: Verify artifact archive (Debugging) | ||
run: ls -R | ||
- name: Get release URL | ||
id: get-release | ||
uses: bruceadams/get-release@v1.3.2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# - name: Upload binaries as release assets | ||
# uses: actions/upload-release-asset@v1.0.2 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# upload_url: ${{ steps.get-release.outputs.upload_url }} | ||
# asset_path: ./${{ env.ARTIFACT_NAME }}.zip | ||
# asset_name: ./${{ env.ARTIFACT_NAME }}.zip | ||
# asset_content_type: application/zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters