Skip to content

Commit

Permalink
Debugging CI/CD workflow to release binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
jo3-tech committed Oct 13, 2024
1 parent 5447d2e commit 1f03d94
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
uses: ./.github/workflows/generate-binaries.yaml

release-binaries:
# permissions: write-all
name: Release binaries
runs-on: ubuntu-latest
env:
# Environment variables
ARTIFACT_NAME: binaries
ASSET_PREFIX: ${{ github.repository }}-${{ github.event.release.tag_name }}
needs: generate-binaries
steps:
- name: Download binaries
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Archive binaries
uses: thedoctor0/zip-release@master
with:
filename: ${{ env.ARTIFACT_NAME }}.zip
filename: ${{ env.ASSET_PREFIX }}-${{ env.ARTIFACT_NAME }}.zip
# - name: Verify artifact archive (Debugging)
# run: ls -R
- name: Upload binaries as release assets
Expand All @@ -35,6 +35,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./${{ env.ARTIFACT_NAME }}.zip
asset_name: ${{ github.repository }}-${{ github.event.release.tag_name }}-${{ env.ARTIFACT_NAME }}.zip
asset_path: ./${{ env.ASSET_PREFIX }}-${{ env.ARTIFACT_NAME }}.zip
asset_name: ${{ env.ASSET_PREFIX }}-${{ env.ARTIFACT_NAME }}.zip
asset_content_type: application/zip

0 comments on commit 1f03d94

Please sign in to comment.