diff --git a/.github/tpl/README.tpl.md b/.github/tpl/README.tpl.md index f8e4471..a97ccea 100644 --- a/.github/tpl/README.tpl.md +++ b/.github/tpl/README.tpl.md @@ -20,6 +20,6 @@ How to use: Just clone the repo. and run: ```bash - bash build.sh conf/{{LATEST_RELEASE}}.conf + bash build.sh {{LATEST_CONF}} ``` diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index 1f220fb..a01c002 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -32,7 +32,7 @@ jobs: echo "LATEST_MAJOR=$(echo ${{ steps.get-latest-release.outputs.tag_name }} | cut -d . -f 1)" >> $GITHUB_ENV echo "LATEST_TAG=${{ steps.get-latest-release.outputs.tag_name }}" >> $GITHUB_ENV latest=$(ls conf/*.conf | tail -1) - echo "LATEST_RELEASE=$latest" >> $GITHUB_ENV + echo "LATEST_CONF=$latest" >> $GITHUB_ENV - name: Update the readme.md uses: vmactions/render@v0.0.1