Remove trailing / from inputs

This commit is contained in:
Josh Gross 2023-11-16 11:26:10 -05:00
parent 8df72cd04e
commit b7d983cc78
No known key found for this signature in database

View file

@ -267,7 +267,7 @@ jobs:
name: base-url set name: base-url set
uses: ./ uses: ./
with: with:
base-url: https://my.github-enterprise-server.com/api/v3/ base-url: https://my.github-enterprise-server.com/api/v3
script: | script: |
const endpoint = github.request.endpoint const endpoint = github.request.endpoint
return endpoint({}).url return endpoint({}).url
@ -276,7 +276,7 @@ jobs:
name: base-url does not override GITHUB_API_URL when not set name: base-url does not override GITHUB_API_URL when not set
uses: ./ uses: ./
env: env:
GITHUB_API_URL: https://my.github-enterprise-server.com/api/v3/ GITHUB_API_URL: https://my.github-enterprise-server.com/api/v3
with: with:
script: | script: |
const endpoint = github.request.endpoint const endpoint = github.request.endpoint