Skip to content

Commit

Permalink
github/workflows: ship signed binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowrt committed May 11, 2022
1 parent 0497dc2 commit 5b9b1fd
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ jobs:
run: |
echo "SYSUPGRADE_ITB=$(ls -1 | grep sysupgrade.itb)" >> "$GITHUB_ENV"
echo "RECOVERY_ITB=$(ls -1 | grep recovery.itb)" >> "$GITHUB_ENV"
echo "RECOVERY_SIGNED_ITB=$(ls -1 | grep recovery_signed.itb)" >> "$GITHUB_ENV"
echo "INSTALLER_ITB=$(ls -1 | grep installer.itb)" >> "$GITHUB_ENV"
echo "INSTALLER_SIGNED_ITB=$(ls -1 | grep installer_signed.itb)" >> "$GITHUB_ENV"
- name: Upload sysupgrade
uses: actions/upload-release-asset@v1
Expand All @@ -74,6 +76,16 @@ jobs:
asset_name: ${{ env.RECOVERY_ITB }}
asset_content_type: application/octet-stream

- name: Upload signed recovery
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ env.RECOVERY_SIGNED_ITB }}
asset_name: ${{ env.RECOVERY_SIGNED_ITB }}
asset_content_type: application/octet-stream

- name: Upload recovery installer
uses: actions/upload-release-asset@v1
env:
Expand All @@ -84,3 +96,12 @@ jobs:
asset_name: ${{ env.INSTALLER_ITB }}
asset_content_type: application/octet-stream

- name: Upload signed recovery installer
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ env.INSTALLER_SIGNED_ITB }}
asset_name: ${{ env.INSTALLER_SIGNED_ITB }}
asset_content_type: application/octet-stream

0 comments on commit 5b9b1fd

Please sign in to comment.