Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a shell command to expand variables #51

Merged
merged 1 commit into from
Nov 21, 2022
Merged

Conversation

hoyo
Copy link
Contributor

@hoyo hoyo commented Nov 21, 2022

The latest main version of this action seems to be failing for variables expansion.

The following is the execution log in my repo.

  TEMP_PATH="$(mktemp -d)"
  curl -sfL https://raw.githubusercontent.com/Songmu/ecschedule/main/install.sh | sh -s -- -b "$TEMP_PATH" "{{ inputs.version }}" 2>&1
  sudo mv ${TEMP_PATH}/ecschedule /usr/local/bin/ecschedule
  rm -rf ${TEMP_PATH}
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    (omit)
Songmu/ecschedule info checking GitHub for tag '{{ inputs.version }}'
Songmu/ecschedule crit unable to find '{{ inputs.version }}' - use 'latest' or see https://github.com/Songmu/ecschedule/releases for details

@Songmu Songmu merged commit 970850a into Songmu:main Nov 21, 2022
@github-actions github-actions bot mentioned this pull request Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants