Skip to content

feat: Update .NET version #37

feat: Update .NET version

feat: Update .NET version #37

name: 'Setup MoltenObsidian CLI (Should be: Successful)'
on:
- push
- workflow_dispatch
- pull_request
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# If debug: true, this will print the contents of the repository to the log.
- name: Print Repository Contents
run: |
echo "::debug::::group::Repository Contents"
ls -la
echo "::endgroup::"
- name: Set permissions for action
run: |
echo "::debug::::group::Set permissions for action"
chmod +x action.yml
echo "::endgroup::"
- name: Setup MoltenObsidian CLI
# Run from pushed branch
uses: ./
- name: Run MoltenObsidian CLI & Summarize
run: |
export LANG=C.UTF-8
echo "### Summary" >> $GITHUB_STEP_SUMMARY
echo "Successfully installed MoltenObsidian CLI." >> $GITHUB_STEP_SUMMARY
echo "Installed Version: \`$(moltenobsidian --version)\`" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "### Output Help:" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
echo "$(moltenobsidian --help | sed 's/\x1B[@A-Z\\\]^_]\|\x1B\[[0-9:;<=>?]*[-!"#$%&'"'"'()*+,.\/]*[][\\@A-Z^_`a-z{|}~]//g')" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY