Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevoss committed Jul 18, 2024
1 parent bb34e1b commit df3fbd7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 0 additions & 4 deletions actions/log/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ inputs:
runs:
using: 'composite'
steps:
- name: Install ZX
run: npm install zx
shell: bash

- name: Log message
shell: bash
run: npx zx ./actions/log/dist/index.js --message="${{inputs.message}}"
2 changes: 1 addition & 1 deletion actions/log/dist/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env zx

// actions/log/index.ts
import { echo, minimist } from "zx";
import "zx/globals";
var args = minimist(process.argv.slice(2), {
string: ["message"],
default: {
Expand Down
4 changes: 3 additions & 1 deletion actions/log/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env zx

import { echo, minimist } from 'zx';
// import { echo, minimist } from 'zx';

import 'zx/globals';

const args = minimist(process.argv.slice(2), {
string: ['message'],
Expand Down

0 comments on commit df3fbd7

Please sign in to comment.