diff --git a/.github/workflows/test-oblt-cli-setup.yml b/.github/workflows/test-oblt-cli-setup.yml index 86d0924f..cdc10965 100644 --- a/.github/workflows/test-oblt-cli-setup.yml +++ b/.github/workflows/test-oblt-cli-setup.yml @@ -60,13 +60,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: elastic/oblt-actions/git/setup@v1 - uses: ./oblt-cli/setup with: github-token: ${{ secrets.OBLT_CLI_GITHUB_TOKEN }} - name: Verify oblt-cli version run: | - version=$(oblt-cli version 2>&1) - default_version=$(cat ./oblt-cli/setup/.default-oblt-cli-version) + oblt-cli version + version="$(oblt-cli version 2>&1)" + echo "$version" + default_version="$(cat ./oblt-cli/setup/.default-oblt-cli-version)" [[ "$version" == *"version ${default_version}"* ]] tools-versions: @@ -118,3 +121,15 @@ jobs: run: | version=$(oblt-cli version 2>&1) [[ "$version" == *"version 7.3.0"* ]] + + test-test-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: elastic/oblt-actions/git/setup@v1 + - uses: ./oblt-cli/setup + with: + github-token: ${{ secrets.OBLT_CLI_GITHUB_TOKEN }} + - name: Verify oblt-cli version + run: | + oblt-cli version diff --git a/oblt-cli/setup/.default-oblt-cli-version b/oblt-cli/setup/.default-oblt-cli-version index a5f017a0..017f8006 100644 --- a/oblt-cli/setup/.default-oblt-cli-version +++ b/oblt-cli/setup/.default-oblt-cli-version @@ -1 +1 @@ -7.5.1 +7.5.3 diff --git a/oblt-cli/setup/action.yml b/oblt-cli/setup/action.yml index 09a9d8df..b90ea25d 100644 --- a/oblt-cli/setup/action.yml +++ b/oblt-cli/setup/action.yml @@ -25,6 +25,12 @@ inputs: runs: using: composite steps: + - run: echo "$CI" + shell: bash + - run: echo "$CI" + shell: bash + - run: echo "$CI" + shell: bash - name: Download oblt-cli and append to PATH run: ${{ github.action_path }}/download.sh env: @@ -33,10 +39,14 @@ runs: OBLT_CLI_VERSION_FILE: ${{ inputs.version-file }} shell: bash - name: Configure oblt-cli - run: > - oblt-cli configure - --git-http-mode - --username="${OBLT_CLI_USERNAME}" + run: | + echo "${CI}" + echo "${CI}" + echo "${CI}" + echo "${CI}" + oblt-cli configure \ + --git-http-mode \ + --username="${OBLT_CLI_USERNAME}" \ --slack-channel="${OBLT_CLI_SLACK_CHANNEL}" env: GITHUB_TOKEN: ${{ inputs.github-token }}