Skip to content

Commit

Permalink
Fix entrypoint script
Browse files Browse the repository at this point in the history
  • Loading branch information
fabasoad committed Mar 20, 2020
1 parent 2f879c3 commit 56d76fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.vscode/
.vscode/
docker-compose.yml
1 change: 0 additions & 1 deletion HelloWorld.pas
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
Classes;
begin
WriteLn('Hello World!');
ReadLn;
end.
4 changes: 3 additions & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh -l
result=$(fpc "$1")
# while true; do sleep 30; done;
fpc "$1"
result=$(${1%.*})
echo ::set-output name=result::"$result"

0 comments on commit 56d76fc

Please sign in to comment.