Updated actions.
This commit is contained in:
@@ -52,6 +52,7 @@ runs:
|
||||
with:
|
||||
version: ${{ inputs.defaultVersion }}
|
||||
- run: echo "${{ steps.base.outputs.majorMinorPatchVersion }}"
|
||||
shell: bash
|
||||
- name: "Get versions."
|
||||
id: package
|
||||
uses: act/common/gitea/gitea-query-package-versions-latest@master
|
||||
@@ -80,8 +81,10 @@ runs:
|
||||
filter: ^${{ steps.base.outputs.majorMinorPatchVersion }}
|
||||
prerelease: false
|
||||
- run: echo "${{ steps.version.outputs.version == '' }}" AND "${{ inputs.prerelease != 'false' }}"
|
||||
shell: bash
|
||||
- if: ${{ steps.version.outputs.version == '' && inputs.prerelease != 'false' }}
|
||||
run: echo "${{ steps.packageFallback.outputs.version }}"
|
||||
shell: bash
|
||||
- name: "Get the next version for the package."
|
||||
uses: act/common/utils/version-increment-branch@master
|
||||
id: version
|
||||
|
||||
@@ -32,6 +32,18 @@ inputs:
|
||||
description: "Directory to unzip the artifacts into. If not specified, the artifacts will not be unzipped."
|
||||
required: false
|
||||
default: ""
|
||||
nugetSources:
|
||||
description: "List of additional NuGet sources to use."
|
||||
required: false
|
||||
default: "https://gitea.studiowhy.net/api/packages/FORK/nuget/index.json"
|
||||
nugetUsernames:
|
||||
description: "List of additional NuGet usernames to use."
|
||||
required: false
|
||||
default: "${{ github.actor }}"
|
||||
nugetPasswords:
|
||||
description: "List of additional NuGet passwords to use."
|
||||
required: false
|
||||
default: "${{ github.token }}"
|
||||
# outputs:
|
||||
# query:
|
||||
# description: "The query result."
|
||||
@@ -52,3 +64,6 @@ runs:
|
||||
INPUTS: ${{ toJSON(inputs) }}
|
||||
with:
|
||||
command: run "${{ github.action_path }}/download-previous-artifacts.cs"
|
||||
nugetSources: ${{ inputs.nugetSources }}
|
||||
nugetUsernames: ${{ inputs.nugetUsernames }}
|
||||
nugetPasswords: ${{ inputs.nugetPasswords }}
|
||||
|
||||
Reference in New Issue
Block a user