Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tfausak committed Feb 18, 2024
1 parent e3a7503 commit 895ca00
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"id": "haskell",
"uses": "haskell-actions/setup@v2",
"with": {
"cabal-version": "3.10.1.0",
"cabal-version": "3.10.2.1",
"ghc-version": "${{ matrix.ghc }}"
}
},
Expand Down Expand Up @@ -88,22 +88,17 @@
"matrix": {
"include": [
{
"ghc": "9.4.7",
"ghc": "9.8.1",
"platform": "macos",
"version": "12"
},
{
"ghc": "9.2.8",
"platform": "ubuntu",
"version": "22.04"
},
{
"ghc": "9.4.7",
"ghc": "9.4.8",
"platform": "ubuntu",
"version": "22.04"
},
{
"ghc": "9.6.2",
"ghc": "9.6.4",
"platform": "ubuntu",
"version": "22.04"
},
Expand All @@ -114,7 +109,7 @@
},
{
"extension": ".exe",
"ghc": "9.4.7",
"ghc": "9.8.1",
"platform": "windows",
"version": "2022"
}
Expand Down Expand Up @@ -184,36 +179,36 @@
"uses": "svenstaro/upload-release-action@v2",
"with": {
"asset_name": "github-release-${{ github.event.release.tag_name }}-ubuntu",
"file": "artifact/ubuntu-9.4.7/github-release",
"file": "artifact/ubuntu-9.8.1/github-release",
"tag": "${{ github.event.release.tag_name }}"
}
},
{
"uses": "svenstaro/upload-release-action@v2",
"with": {
"asset_name": "github-release-${{ github.event.release.tag_name }}-macos",
"file": "artifact/macos-9.4.7/github-release",
"file": "artifact/macos-9.8.1/github-release",
"tag": "${{ github.event.release.tag_name }}"
}
},
{
"uses": "svenstaro/upload-release-action@v2",
"with": {
"asset_name": "github-release-${{ github.event.release.tag_name }}-windows.exe",
"file": "artifact/windows-9.4.7/github-release.exe",
"file": "artifact/windows-9.8.1/github-release.exe",
"tag": "${{ github.event.release.tag_name }}"
}
},
{
"uses": "svenstaro/upload-release-action@v2",
"with": {
"asset_name": "github-release-${{ github.event.release.tag_name }}.tar.gz",
"file": "artifact/ubuntu-9.4.7/github-release-${{ github.event.release.tag_name }}.tar.gz",
"file": "artifact/ubuntu-9.8.1/github-release-${{ github.event.release.tag_name }}.tar.gz",
"tag": "${{ github.event.release.tag_name }}"
}
},
{
"run": "cabal upload --publish --username '${{ secrets.HACKAGE_USERNAME }}' --password '${{ secrets.HACKAGE_PASSWORD }}' artifact/ubuntu-9.4.7/github-release-${{ github.event.release.tag_name }}.tar.gz"
"run": "cabal upload --publish --username '${{ secrets.HACKAGE_USERNAME }}' --password '${{ secrets.HACKAGE_PASSWORD }}' artifact/ubuntu-9.8.1/github-release-${{ github.event.release.tag_name }}.tar.gz"
}
]
}
Expand Down

0 comments on commit 895ca00

Please sign in to comment.