-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github: workflow: release: add cosign; add emojis ✅
- Loading branch information
1 parent
2762cbf
commit a826e66
Showing
1 changed file
with
22 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,19 +12,36 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Create SHA of envr.ps1 | ||
run: shasum -a 256 envr.ps1 > sha256.sum | ||
|
||
- name: Add envr.ps1 to release | ||
- name: 🚀 Add envr.ps1 to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: envr.ps1 | ||
tag: ${{ github.ref }} | ||
|
||
- name: Add SHA to release | ||
- name: 🍴 Create SHA of envr.ps1 | ||
run: shasum -a 256 envr.ps1 > sha256.sum | ||
|
||
- name: 🚀 Add SHA to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: sha256.sum | ||
tag: ${{ github.ref }} | ||
|
||
- name: 💿 Install cosign | ||
uses: sigstore/[email protected] | ||
|
||
- name: 🖋️ Create cosign.bundle | ||
run: > | ||
cosign sign-blob | ||
envr.ps1 | ||
--bundle envr.ps1.cosign.bundle | ||
--yes | ||
- name: 🚀 Add cosign.bundle to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: envr.ps1.cosign.bundle | ||
tag: ${{ github.ref }} |