Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ inputs:
description: "The name of the your package"
required: true
default: ${{ github.event.repository.name }}
repository_url:
description: "The name of the your package"
required: true
default: ${{ env.GIT_SERVER_URL_OVERRIDE or env.GITHUB_SERVER_URL }}
version:
description: |
The version of your package. Uses the git tag by default (if one exists).
Expand Down Expand Up @@ -76,6 +80,7 @@ runs:
env:
INPUT_NAME: ${{ inputs.name }}
INPUT_VERSION: ${{ inputs.version }}
INPUT_REPOSITORY: ${{ inputs.repository_url }}
INPUT_SPECREV: ${{ inputs.specrev }}
INPUT_DEPENDENCIES: ${{ inputs.dependencies }}
INPUT_TEST_DEPENDENCIES: ${{ inputs.test_dependencies }}
Expand Down
2 changes: 1 addition & 1 deletion bin/luarocks-tag-release-action.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ local repo_name = assert(
]]
)

local git_server_url = os.getenv('GIT_SERVER_URL_OVERRIDE') or getenv_or_err('GITHUB_SERVER_URL')
local git_server_url = getenv_or_err('INPUT_REPOSITORY')

local is_pull_request = getenv_or_empty('GITHUB_EVENT_NAME') == 'pull_request'

Expand Down