Skip to content

Build beta release

Build beta release #6

Workflow file for this run

name: Build beta release
on:
release:
types: [published]
jobs:
tag:
name: New tag
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set env
id: vars
run: echo ::set-output name=tag::${GITHUB_REF:10}
- name: Build
id: build
uses: wpeverest/[email protected]
with:
generate-zip: true
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ steps.build.outputs.zip_path }}
asset_name: ${{ github.event.repository.name }}.zip
asset_content_type: application/zip