ChatGPTBox v2.0.0

This commit is contained in:
josc146
2023-03-15 17:09:28 +08:00
parent e642f2b922
commit f9ef9620ac
11 changed files with 38 additions and 25 deletions
+5 -1
View File
@@ -3,7 +3,7 @@ on:
workflow_dispatch:
# push:
# branches:
# - main
# - master
# paths:
# - "src/**"
# - "!src/**/*.json"
@@ -11,6 +11,10 @@ on:
# tags-ignore:
# - "v*"
permissions:
id-token: "write"
contents: "write"
jobs:
build_and_release:
runs-on: ubuntu-22.04
+6 -1
View File
@@ -4,6 +4,10 @@ on:
tags:
- "v*"
permissions:
id-token: "write"
contents: "write"
jobs:
build_and_release:
runs-on: macos-12
@@ -12,7 +16,7 @@ jobs:
- run: echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
- uses: actions/checkout@v3
with:
ref: main
ref: master
- name: Update manifest.json version
uses: jossef/action-set-json-field@v2.1
@@ -29,6 +33,7 @@ jobs:
value: ${{ env.VERSION }}
- name: Push files
continue-on-error: true
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"