Skip to content

Commit

Permalink
github: workflow: release: add cosign; add emojis ✅
Browse files Browse the repository at this point in the history
  • Loading branch information
JPHutchins committed Jun 23, 2024
1 parent 2762cbf commit a826e66
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit a826e66

Please sign in to comment.