Skip to content

adding: release action #1

adding: release action

adding: release action #1

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Create Source Code Zip
run: zip -r source_code.zip .
working-directory: ${{ github.workspace }}
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ github.token }}
with:
name: ${{ github.ref_name }}
draft: false
prerelease: false