chore(ci): use `windows-2022` instead of `ubuntu-22.04` to release

This commit is contained in:
郭桓桓 2023-03-03 20:07:17 +08:00
parent ff06dee900
commit 706720b8fe
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
3 changed files with 6 additions and 6 deletions

View File

@ -8,8 +8,8 @@ on:
jobs:
# NPM Registry & GitHub Release
release:
# Use Ubuntu 22.04
runs-on: ubuntu-22.04
# Use Windows Server 2022
runs-on: windows-2022
steps:
# Step I
- name: Get Source Code
@ -46,7 +46,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Step VIII
# - Pre-release
# / 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
@ -55,7 +55,7 @@ jobs:
files: |
dist/*
build.tar.gz
# - Release
# / 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

2
package-lock.json generated
View File

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

View File

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