We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2af19b commit 9b4ecacCopy full SHA for 9b4ecac
.github/workflows/publish.yml
@@ -1,6 +1,8 @@
1
name: publish
2
3
on:
4
+ pull_request:
5
+ branches: [master]
6
push:
7
branches: [master]
8
release:
@@ -13,3 +15,16 @@ jobs:
13
15
API_TOKEN_HACKAGE: ${{ secrets.API_TOKEN_HACKAGE }}
14
16
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
17
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
18
+
19
+ binaries:
20
+ runs-on: ubuntu-22.04
21
+ container: toxchat/toktok-stack:haskell
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ - name: Build binaries
25
+ run: stack build --copy-bins
26
+ - name: Upload binaries
27
+ uses: actions/upload-artifact@v4
28
+ with:
29
+ name: binaries
30
+ path: .stack-work/install/x86_64-linux/lts-*/*/bin
0 commit comments