chore(workflows): Add automatic needs-triage label using workflow #49
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create a Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
release: | |
name: Create a new Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set output | |
id: vars | |
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} | |
- name: Copy files | |
run: | | |
mkdir -p ${{ github.event.repository.name }} | |
shopt -s extglob | |
rm -rf .git* LICENSE README.md .tekton | |
sed -i '0,/main/s/main/${{steps.vars.outputs.tag }}/' fxmanifest.lua | |
mv !(${{ github.event.repository.name }}) ${{ github.event.repository.name }}/ | |
- uses: thedoctor0/zip-release@master | |
with: | |
type: 'zip' | |
filename: '${{ github.event.repository.name }}.zip' | |
- uses: marvinpinto/[email protected] | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
files: ${{ github.event.repository.name }}.zip | |
title: ${{ steps.vars.outputs.tag }} | |
prerelease: false |