1
0
mirror of https://github.com/kuohuanhuan/x-markdown-css.git synced 2024-11-25 06:18:19 +00:00

Compare commits

...

16 Commits

3 changed files with 16 additions and 6 deletions

View File

@ -30,7 +30,7 @@ jobs:
run: npm run build
# Step V
- name: Create tar.gz File
uses: TheDoctor0/zip-release@latest
uses: TheDoctor0/zip-release@0.7.1
with:
type: tar
path: dist/
@ -46,10 +46,20 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Step VIII
- name: GitHub Release
uses: marvinpinto/action-automatic-releases@v1
# / pre-release
- name: GitHub Release (pre-release)
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-')
uses: softprops/action-gh-release@v1
with:
prerelease: true
files: |
dist/*
build.tar.gz
# / release
- name: GitHub Release (release)
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-') == false
uses: softprops/action-gh-release@v1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
prerelease: false
files: |
dist/*

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "x-markdown-css",
"version": "0.0.0-20230303.1",
"version": "0.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {

View File

@ -1,6 +1,6 @@
{
"name": "x-markdown-css",
"version": "0.0.0-20230303.1",
"version": "0.0.1",
"description": "A simple and customizable markdown CSS stylesheet for everyone.",
"keywords": [
"markdown",