Skip to content

Merge pull request #39 from stakater/update-github #34

Merge pull request #39 from stakater/update-github

Merge pull request #39 from stakater/update-github #34

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Zip the Vale package
run: zip -r Stakater.zip Stakater
- name: Create a release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
- name: Upload the zip package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Stakater.zip
asset_name: Stakater.zip
asset_content_type: application/zip