Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xrain0610 committed Mar 23, 2023
1 parent b42c15b commit 8b6e58c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: main
on:
push:
tags:
- '*'
- '*'

jobs:
build:
Expand All @@ -19,7 +19,8 @@ jobs:
version=`git describe --tags`
npm i
npm run build
zip -r headscale-ui-${{ env.ReleaseVersion }}.zip dist/headscale-ui
cd dist
zip -r headscale-ui-${{ github.ref_name }}.zip headscale-ui
- name: Create GitHub release
uses: marvinpinto/action-automatic-releases@latest
with:
Expand All @@ -28,4 +29,4 @@ jobs:
title: ${{ env.ReleaseVersion }}
prerelease: false
files: |
headscale-ui-${{ env.ReleaseVersion }}.zip
dist/headscale-ui-${{ github.ref_name }}.zip
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# HeadscaleUi
[![main](https://github.com/simcu/headscale-ui/actions/workflows/main.yml/badge.svg)](https://github.com/simcu/headscale-ui/actions/workflows/main.yml)

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.4.
Only Use headscale http api,and save credit in localstorage.
Expand Down

0 comments on commit 8b6e58c

Please sign in to comment.