Skip to content

Commit 09e61b6

Browse files
authored
v1.2.1
2 parents 2025e6b + bb49cc7 commit 09e61b6

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/Pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
4343
- {icon: '🪟🟨', name: 'Windows', image: 'windows-2022', runtime: 'ucrt64', backend: 'llvm' }
4444
- {icon: '🪟🟨', name: 'Windows', image: 'windows-2022', runtime: 'ucrt64', backend: 'llvm-jit'}
4545
version:
46-
# - {install: '5.0.0', expected: '5.0.0'}
47-
# - {install: 'latest', expected: '5.0.0'}
48-
- {install: 'nightly', expected: '5.0.0-dev'}
46+
- {install: '5.0.1', expected: '5.0.1'}
47+
- {install: 'latest', expected: '5.0.1'}
48+
- {install: 'nightly', expected: '6.0.0-dev'}
4949
option:
5050
- {can-fail: false}
5151
include:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ This composite action, installs GHDL in a GitHub Action's workflow job.
1111
## Features
1212

1313
* Select GHDL version:
14-
* tagged release like `5.0.0`, or
14+
* tagged release like `5.0.1`, or
15+
* latest release, currently `5.0.1`, or
1516
* `nightly` release (rolling release).
1617
* Select GHDL backend:
1718
* mcode

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ runs:
7979
shell: bash
8080
run: |
8181
printf "::group::${ANSI_LIGHT_BLUE}%s${ANSI_NOCOLOR}\n" "Download 'jq' and copy to Git Bash ..."
82-
curl -L -o /usr/bin/jq.exe https://github.com/jqlang/jq/releases/latest/download/jq-win64.exe
82+
curl -L --fail https://github.com/jqlang/jq/releases/latest/download/jq-win64.exe -o /usr/bin/jq.exe
8383
printf "::endgroup::\n"
8484
8585
- name: Download and install GHDL
@@ -89,7 +89,7 @@ runs:
8989
# Download and install GHDL
9090
ANSI_LIGHT_RED=$'\x1b[91m'
9191
ANSI_LIGHT_GREEN=$'\x1b[92m'
92-
ANSI_LIGHT_BLUE="\e[94m"
92+
ANSI_LIGHT_BLUE=$'\x1b[94m'
9393
ANSI_NOCOLOR=$'\x1b[0m'
9494
9595
if [[ "${{ runner.os }}" == "Linux" ]]; then
@@ -152,7 +152,7 @@ runs:
152152
# A generic test for supported named versions or tagged versions.
153153
if [[ "${{ inputs.version }}" == "latest" ]]; then
154154
# TODO: could be read from nightly's inventory.json
155-
VERSION_IN_URL="v5.0.0"
155+
VERSION_IN_URL="v5.0.1"
156156
elif [[ "${{ inputs.version }}" =~ ^v[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(-rc[0-9]+)?|nightly$ ]]; then
157157
VERSION_IN_URL="${{ inputs.version }}"
158158
elif [[ "${{ inputs.version }}" =~ ^[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(-rc[0-9]+)?$ ]]; then
@@ -174,7 +174,7 @@ runs:
174174
175175
DOWNLOAD_URL="https://github.com/ghdl/ghdl/releases/download/${VERSION_IN_URL}/inventory.json"
176176
printf "::group::${ANSI_LIGHT_BLUE}%s${ANSI_NOCOLOR}\n" "Downloading release inventory file from '${DOWNLOAD_URL}' ..."
177-
curl -L "${DOWNLOAD_URL}" -o inventory.json
177+
curl -L --fail "${DOWNLOAD_URL}" -o inventory.json
178178
retCode=$?
179179
printf "::endgroup::\n Downloading release inventory "
180180
if [[ $retCode -eq 0 ]]; then
@@ -243,7 +243,7 @@ runs:
243243
downloadFile="$(jq -r ".files.ghdl.\"${osName,,}\".\"${osMajorVersion}\".\"${osArchitecture}\".\"${osRuntime}\".\"${{ inputs.backend }}\".file" inventory.json)"
244244
downloadFile="${downloadFile#*/}"
245245
printf "::group::${ANSI_LIGHT_BLUE}%s${ANSI_NOCOLOR}\n" "Downloading asset from '${downloadBase}/${downloadFile}' ..."
246-
curl -L "${downloadBase}/${downloadFile}" -o "${downloadFile}"
246+
curl -L --fail "${downloadBase}/${downloadFile}" -o "${downloadFile}"
247247
retCode=$?
248248
printf "::endgroup::\n Downloading GHDL installation archive "
249249
if [[ $retCode -eq 0 ]]; then

0 commit comments

Comments
 (0)