Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed May 5, 2024
1 parent 2e14da2 commit 0fb8222
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
Empty file modified data/code-runner-gitea-webhook.py
100644 → 100755
Empty file.
Empty file modified po/tr.po
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/data/code_runner.vala
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class code_runner {
job.name = area_name;
job.uses = yaml.get_value(area,"uses");
job.image = yaml.get_value(area,"image");
job.directory = yaml.get_value(area,"directory");
job.directory = sdirname(file);
job.environs = yaml.get_array(area,"environs");
job.commands = yaml.get_array(area,"run");
if (job.commands.length == 0) {
Expand Down
2 changes: 0 additions & 2 deletions src/shcode/code_runner_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ steps:
jobs:
main:
uses: local
directory: /tmp/ymp-build
image: undefined
environs:
- prefix=/usr
Expand All @@ -17,6 +16,5 @@ jobs:
fail-job:
uses: local
image: undefined
directory: /tmp/ymp-build
run: |
echo "Failed"

0 comments on commit 0fb8222

Please sign in to comment.