Skip to content

0.5.6

0.5.6 #3

Workflow file for this run

name: Release
permissions:
contents: write
on:
release:
types: [published]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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: 🍴 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 }}