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

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: jobs:
# NPM Registry & GitHub Release # NPM Registry & GitHub Release
release: release:
# Use Ubuntu 22.04 # Use Windows Server 2022
runs-on: ubuntu-22.04 runs-on: windows-2022
steps: steps:
# Step I # Step I
- name: Get Source Code - name: Get Source Code
@ -46,7 +46,7 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Step VIII # Step VIII
# - Pre-release # / pre-release
- name: GitHub Release (pre-release) - name: GitHub Release (pre-release)
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-') if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-')
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
@ -55,7 +55,7 @@ jobs:
files: | files: |
dist/* dist/*
build.tar.gz build.tar.gz
# - Release # / release
- name: GitHub Release (release) - name: GitHub Release (release)
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-') == false if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-') == false
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1

2
package-lock.json generated
View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "x-markdown-css", "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.", "description": "A simple and customizable markdown CSS stylesheet for everyone.",
"keywords": [ "keywords": [
"markdown", "markdown",