Skip to content

fix: potentially vulnerability if steamless was malicious #6

fix: potentially vulnerability if steamless was malicious

fix: potentially vulnerability if steamless was malicious #6

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
build:
uses: ./.github/workflows/ci.yml
release:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: app
- name: Calculate Hash
id: calculate_hash
run: |
HASH=$(sha256sum msu-launcher.zip | awk '{ print $1 }')
echo "hash=$HASH" >> "$GITHUB_OUTPUT"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
body: |
Auto generated release
msu-launcher.zip SHA256 hash: `${{ steps.calculate_hash.outputs.hash }}`
draft: true
prerelease: false
- name: Upload Release Asset
uses: csexton/release-asset-action@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
release-url: ${{ steps.create_release.outputs.upload_url }}
file: msu-launcher.zip