Skip to content

Commit

Permalink
CI: Distinguish artifact names by GHC version
Browse files Browse the repository at this point in the history
Fixes #1383.
  • Loading branch information
RyanGlScott committed Jul 15, 2022
1 parent 69f07cc commit bc209c5
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 @@ -191,14 +191,14 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: ${{ env.NAME }}
name: ${{ env.NAME }} (GHC ${{ matrix.ghc-version }})
path: "${{ env.NAME }}.tar.gz*"
if-no-files-found: error
retention-days: ${{ needs.config.outputs.retention-days }}

- uses: actions/upload-artifact@v2
with:
name: ${{ env.NAME }}-with-solvers
name: ${{ env.NAME }}-with-solvers (GHC ${{ matrix.ghc-version }})
path: "${{ env.NAME }}-with-solvers.tar.gz*"
if-no-files-found: error
retention-days: ${{ needs.config.outputs.retention-days }}
Expand All @@ -207,18 +207,18 @@ jobs:
uses: actions/upload-artifact@v2
with:
path: dist/bin
name: ${{ runner.os }}-dist-bin
name: ${{ runner.os }}-dist-bin (GHC ${{ matrix.ghc-version }})

- if: matrix.ghc-version == '8.8.4'
uses: actions/upload-artifact@v2
with:
path: bin
name: ${{ runner.os }}-bin
name: ${{ runner.os }}-bin (GHC ${{ matrix.ghc-version }})

- uses: actions/upload-artifact@v2
if: runner.os == 'Windows'
with:
name: ${{ env.NAME }}
name: ${{ env.NAME }} (GHC ${{ matrix.ghc-version }})
path: "cryptol.msi*"
if-no-files-found: error
retention-days: ${{ needs.config.outputs.retention-days }}
Expand Down Expand Up @@ -267,12 +267,12 @@ jobs:

- uses: actions/download-artifact@v2
with:
name: "${{ runner.os }}-dist-bin"
name: "${{ runner.os }}-dist-bin (GHC ${{ matrix.ghc-version }})"
path: dist/bin

- uses: actions/download-artifact@v2
with:
name: "${{ runner.os }}-bin"
name: "${{ runner.os }}-bin (GHC ${{ matrix.ghc-version }})"
path: bin

- shell: bash
Expand Down

0 comments on commit bc209c5

Please sign in to comment.