From f063ceb4e58c7f5147c0f048dfcf3f7a98179424 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 10 Jan 2025 20:55:54 +0100 Subject: [PATCH] Add release workflow I hope --- .github/workflows/release.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..a3b3e89 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,33 @@ +name: Release Workflow + +on: + push: + tags: + - '*.*.*' + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Run deploy script + run: bash deploy.sh + + - name: Create Release + id: create_release + uses: actions/create-release@v1 + with: + tag_name: ${{ github.ref_name }} + release_name: ${{ github.ref_name }} + draft: false + prerelease: false + + - name: Upload Release Asset + uses: actions/upload-release-asset@v1 + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: Heimdall.zip + asset_name: Heimdall.zip + asset_content_type: application/zip