v0.0.57: this probably won't work

This commit is contained in:
Edwin Sirko
2024-01-26 16:34:38 +00:00
committed by ddivad195
parent 86588e3791
commit 475c9db7d7
3 changed files with 13 additions and 6 deletions
+4 -6
View File
@@ -7,11 +7,6 @@ branding:
color: 'red'
inputs:
token:
required: true
description: >
GITHUB_TOKEN having the write:package scope to publish an action package to GHCR.
default: ${{ github.token }}
path:
required: false
description: The work directory or path to be tar archived and uploaded as OCI Artifact layer.
@@ -33,8 +28,11 @@ runs:
shell: bash
# - run: node ./dist/index.js
# shell: bash
- uses: ddivad195/publish-action-package/[email protected]6
- uses: ddivad195/publish-action-package/[email protected]7
id: publish
with:
token: ${{ github.token }}
who-to-greet: ${{ env.registry }}
- name: Output variables
shell: bash
run: |
Generated Vendored
+4
View File
@@ -74742,6 +74742,10 @@ const semver_1 = __importDefault(__nccwpck_require__(11383));
async function run() {
const tmpDirs = [];
try {
const whoToGreet = core.getInput('who-to-greet', { required: true });
core.info(`Hello, ${whoToGreet}!`);
const token2 = core.getInput('token', { required: true });
core.info(`Hello, ${token2}!`);
// Parse and validate Actions execution context, including the repository name, release name and event type
const repository = process.env.GITHUB_REPOSITORY || '';
if (repository === '') {
+5
View File
@@ -13,6 +13,11 @@ export async function run(): Promise<void> {
const tmpDirs: string[] = []
try {
const whoToGreet = core.getInput('who-to-greet', { required: true })
core.info(`Hello, ${whoToGreet}!`)
const token2 = core.getInput('token', { required: true })
core.info(`Hello, ${token2}!`)
// Parse and validate Actions execution context, including the repository name, release name and event type
const repository: string = process.env.GITHUB_REPOSITORY || ''
if (repository === '') {