Skip to content

Commit 014cb77

Browse files
committed
fix wkflow
1 parent 3d41089 commit 014cb77

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/docker-image.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,15 @@ jobs:
159159
cache-to: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/hastructure:buildcache,mode=max
160160

161161
publish:
162+
163+
needs: [build]
162164

163-
- uses: haskell-actions/hackage-publish@v1
164-
with:
165-
hackageToken: ${{ secrets.HACKAGE_KEY }}
166-
packagesPath: ${{ runner.temp }}/packages
167-
docsPath: ${{ runner.temp }}/docs
168-
publish: false
165+
runs-on: ubuntu-latest
166+
167+
steps:
168+
- uses: haskell-actions/hackage-publish@v1
169+
with:
170+
hackageToken: ${{ secrets.HACKAGE_KEY }}
171+
packagesPath: ${{ runner.temp }}/packages
172+
docsPath: ${{ runner.temp }}/docs
173+
publish: false

0 commit comments

Comments
 (0)