Skip to content

Commit

Permalink
.github: fix go-test-multiplatform file
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajolet-hashicorp committed Nov 24, 2023
1 parent 2967cf8 commit 8e737bb
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/go-test-multiplatform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,18 @@ permissions:
contents: read

jobs:
get-go-version:
runs-on: ubuntu-latest
outputs:
go-version: ${{ steps.get-go-version.outputs.go-version }}
steps:
- uses: actions/checkout@v4
- name: 'Determine Go version'
id: get-go-version
run: |
echo "Found Go $(cat .go-version)"
echo "go-version=$(cat .go-version)" >> $GITHUB_OUTPUT
get-go-version:
runs-on: ubuntu-latest
outputs:
go-version: ${{ steps.get-go-version.outputs.go-version }}
steps:
- uses: actions/checkout@v4
- name: 'Determine Go version'
id: get-go-version
run: |
echo "Found Go $(cat .go-version)"
echo "go-version=$(cat .go-version)" >> $GITHUB_OUTPUT
get-test-dependencies:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -129,4 +130,4 @@ jobs:
LINODE_CLI_OBJ_SECRET_KEY: ${{ secrets.LINODE_CLI_OBJ_SECRET_KEY }}
run: |
report_filename=$(ls | grep -E '^[0-9]{12}_packer_test_report\.xml$')
python3 scripts/test_report_upload_script.py "${report_filename}"
python3 scripts/test_report_upload_script.py "${report_filename}"

0 comments on commit 8e737bb

Please sign in to comment.