Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsdev0 authored Jul 26, 2023
1 parent f06e1a4 commit 26d70cf
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Releases

on:
workflow_dispatch:
inputs:
tag:
description: 'Tag'
required: true
default: 'v0.0.0'
type: string

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Build the template zip
run: |
mv examples/template/* . || echo ok
rm -rf examples README.md bootstrap.sh
zip -r template.zip *
- uses: ncipollo/release-action@v1
with:
artifacts: "template.zip"
tag: ${{ github.event.inputs.tag }}

0 comments on commit 26d70cf

Please sign in to comment.