summaryrefslogtreecommitdiff
path: root/.github/actions/download-dm/action.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/actions/download-dm/action.yml')
-rw-r--r--.github/actions/download-dm/action.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/actions/download-dm/action.yml b/.github/actions/download-dm/action.yml
new file mode 100644
index 000000000..5d24da3e2
--- /dev/null
+++ b/.github/actions/download-dm/action.yml
@@ -0,0 +1,15 @@
+name: 'Download DigitalMars'
+description: 'Downloads DigitalMars'
+inputs:
+ version:
+ description: 'DigitalMars version'
+ required: false
+ default: '8.57'
+runs:
+ using: "composite"
+ steps:
+ - name: Install DigitalMars
+ run: |
+ DM_DIR=$(./scripts/install-dm.sh -d $HOME/dm --version ${{ inputs.version }})
+ (cygpath -w ${DM_DIR} 2>/dev/null || echo ${DM_DIR}) >> ${GITHUB_PATH}
+ shell: bash