chore(ci): use `windows-2022` instead of `ubuntu-22.04` to release
This commit is contained in:
parent
ff06dee900
commit
706720b8fe
|
@ -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
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue