Skip to content

Commit

Permalink
Merge pull request #7 from EA31337/dev-ci-fixme
Browse files Browse the repository at this point in the history
CI fixes [GH-6]
  • Loading branch information
kenorb authored Aug 20, 2023
2 parents 96b28b1 + 661dfbb commit 2eb7832
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
id: get-files
run: |
import glob, json, os
files = glob.glob("**/*.mq?")
print("::set-output name=filelist::{}".format(json.dumps(files)))
file = os.environ["GITHUB_OUTPUT"]
filelist = "filelist={}".format(json.dumps(glob.glob("**/*.mq?")))
with open(file, "a") as fd:
fd.write(filelist)
shell: python
- name: Display output
run: echo ${{ steps.get-files.outputs.filelist }}
- name: Display outputs
run: echo "${{ toJson(steps.get-files.outputs) }}"
Compile:
defaults:
run:
Expand Down

0 comments on commit 2eb7832

Please sign in to comment.