更新默认域名

This commit is contained in:
floraachy 2025-02-14 11:21:02 +08:00
parent 13f48e5148
commit f6c3a46c0f
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ description: '在指定仓库创建发行版'
author: 'GitLink'
inputs:
domain:
description: '选填域名默认为https://osredm.com'
description: '选填域名默认为http://172.20.32.201:4000/'
username:
description: '必填,对需要发行版本的仓库具备管理员权限的用户'
password:

2
dist/index.js vendored
View File

@ -34689,7 +34689,7 @@ function generateRandomString(length) {
const upload_artifact = async () => {
//使用trim移除前后的多余空格
const domain = (process.env['INPUT_DOMAIN'] || "https://osredm.com").trim();
const domain = (process.env['INPUT_DOMAIN'] || "http://172.20.32.201:4000").trim();
const username = (process.env['INPUT_USERNAME'] || '').trim();
const password = (process.env['INPUT_PASSWORD'] || '').trim();
const repository = (process.env['INPUT_REPOSITORY'] || process.env['GITHUB_REPOSITORY'] || '').trim();

View File

@ -15,7 +15,7 @@ function generateRandomString(length) {
const upload_artifact = async () => {
//使用trim移除前后的多余空格
const domain = (process.env['INPUT_DOMAIN'] || "https://osredm.com").trim();
const domain = (process.env['INPUT_DOMAIN'] || "http://172.20.32.201:4000").trim();
const username = (process.env['INPUT_USERNAME'] || '').trim();
const password = (process.env['INPUT_PASSWORD'] || '').trim();
const repository = (process.env['INPUT_REPOSITORY'] || process.env['GITHUB_REPOSITORY'] || '').trim();