Skip to content

Commit 3bd0e4a

Browse files
committed
WIP
1 parent 8c69988 commit 3bd0e4a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ runs:
1212
- name: Checkout
1313
uses: actions/checkout@v5
1414
- name: Execute some javascript
15-
shell: "ruby -r${{ github.action_path }}/foo.rb {0}"
15+
shell: "ruby -r${{ github.action_path }}/foo.rb ${{ github.workspace }} {0}"
1616
run: ""

foo.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22

33
puts RUBY_VERSION
44
puts Dir.pwd
5+
puts __FILE__
6+
puts ARGV

0 commit comments

Comments
 (0)