Skip to content

Commit

Permalink
Rectify the names of the binaries (#59)
Browse files Browse the repository at this point in the history
* Rectify the names of the binaries

* Test the previous commit

* Use v0.1.7.1 for files
  • Loading branch information
Kleidukos authored Sep 13, 2024
1 parent f4643ba commit f31ce54
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
steps:
- name: Extract the tested GHC versions
id: set-matrix
uses: kleidukos/get-tested@0.1.7.1
uses: kleidukos/get-tested@e043bd97035b89e378860d91bbce6a56b83133c5
with:
cabal-file: get-tested.cabal
ubuntu-version: latest
macos-version: 'latest'
version: 0.1.7.0
version: 0.1.7.1
build:
name: ${{ matrix.ghc }} on ${{ matrix.os }}
needs: generate-matrix
Expand Down Expand Up @@ -48,7 +48,6 @@ jobs:
ARCHITECTURE=$(uname -m)
echo "ARCH=$ARCHITECTURE" >> $GITHUB_ENV
echo "REPORT_NAME=report-${{ matrix.os }}-ghc-${{ matrix.ghc }}.xml" >> $GITHUB_ENV
echo ${{ env.ARCH }}
- name: Freeze
run: cabal freeze --project-file=cabal.release.project
Expand Down Expand Up @@ -89,7 +88,7 @@ jobs:
- name: Package the get-tested executable
run: |
GETTESTED_EXEC=distribution/get-tested
ARTIFACT_NAME="get-tested-head-${{ matrix.os }}-static-${{ env.ARCH }}-${{ matrix.ghc }}"
ARTIFACT_NAME="get-tested-head-${{ env.KERNEL }}-${{ env.ARCH }}"
echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
ARCHIVE=${ARTIFACT_NAME}.tar.gz
DIR=$(dirname $GETTESTED_EXEC)
Expand Down Expand Up @@ -129,8 +128,9 @@ jobs:
run: |
ARCHITECTURE=$(uname -m)
echo "ARCH=$ARCHITECTURE" >> $GITHUB_ENV
echo "REPORT_NAME=report-alpine-ghc-9.10.1.xml" >> $GITHUB_ENV
echo ${{ env.ARCH }}
KERNEL=$(uname -m)
echo "KERNEL=$KERNEL" >> $GITHUB_ENV
echo "REPORT_NAME=report-alpine.xml" >> $GITHUB_ENV
- name: Freeze
run: cabal freeze --project-file=cabal.static.project
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
- name: Tar get-tested executable
run: |
GETTESTED_EXEC=distribution/get-tested
ARTIFACT_NAME="get-tested-head-alpine-3.20-static-${{ env.ARCH }}-ghc-9.10.1"
ARTIFACT_NAME="get-tested-head-${{ env.KERNEL }}-static-${{ env.ARCH }}"
echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
ARCHIVE=${ARTIFACT_NAME}.tar.gz
DIR=$(dirname $GETTESTED_EXEC)
Expand Down

0 comments on commit f31ce54

Please sign in to comment.