Skip to content

Commit

Permalink
Add: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayao0819 committed Oct 12, 2023
1 parent 72695c4 commit 91406f4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflow/release.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: release

on:
push:
tags:
- 'v*'

jobs:
relese:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Volta
uses: volta-cli/action@v4

- name: Install dependencies
run: |
volta install node
volta install pnpm
pnpm install
pnpm run build
- name: Compress files
uses: vimtor/[email protected]
with:
files: dist/
dest: gaming-gundai.zip

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: gaming-gundai.zip

0 comments on commit 91406f4

Please sign in to comment.