v0.0.56: style
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ runs:
|
||||
shell: bash
|
||||
# - run: node ./dist/index.js
|
||||
# shell: bash
|
||||
- uses: ddivad195/publish-action-package/[email protected]5
|
||||
- uses: ddivad195/publish-action-package/[email protected]6
|
||||
id: publish
|
||||
- name: Output variables
|
||||
shell: bash
|
||||
|
||||
+2
-1
@@ -74773,7 +74773,8 @@ async function run() {
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to fetch status page: ${response.statusText}`);
|
||||
}
|
||||
const registryURL = new URL((await response.json()).url);
|
||||
const data = await response.json();
|
||||
const registryURL = new URL(data.url);
|
||||
console.log(`registryURL (supplied): ${core.getInput('registry')}`); // TODO: get rid of the `registry` input
|
||||
console.log(`registryURL (from URL): ${registryURL}`);
|
||||
// Paths to be included in the OCI image
|
||||
|
||||
+2
-1
@@ -54,7 +54,8 @@ export async function run(): Promise<void> {
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to fetch status page: ${response.statusText}`)
|
||||
}
|
||||
const registryURL: URL = new URL((await response.json()).url)
|
||||
const data = await response.json()
|
||||
const registryURL: URL = new URL(data.url)
|
||||
console.log(`registryURL (supplied): ${core.getInput('registry')}`) // TODO: get rid of the `registry` input
|
||||
console.log(`registryURL (from URL): ${registryURL}`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user