on master help sign in
Dist
commit94fbdaadc9fadb5d68efe1211ab96e21eb624577 authoriko <ilyakooo0@gmail.com> dateTue 11 Jan 2022, 18:16 (5 years ago) parentb8f2e01
2 files changed+20
.github/workflows/github-actions-image.yaml+19 compaREST.cabal+1
.github/workflows/github-actions-image.yaml+19
@@ -176,6 +176,25 @@ jobs:
176176 file: compaREST-Linux-x86.zip
177177 tag: ${{ github.ref }}
178178
179+ dist:
180+ needs: check_versions
181+ runs-on: ubuntu-latest
182+ steps:
183+ - uses: actions/checkout@v2
184+ with:
185+ submodules: recursive
186+
187+ - name: Build dist
188+ run: |
189+ stack sdist --pvp-bounds both --test-tarball
190+ echo "distPath=$(stack path | awk -F ": " '/dist-dir/ {print $2}')" >> $GITHUB_ENV
191+
192+ - name: compaREST sources artifact
193+ uses: actions/upload-artifact@v2
194+ with:
195+ name: compaREST sources
196+ path: ${{ env.distPath }}/*.tar.gz
197+
179198 macOS:
180199 needs: check_versions
181200 runs-on: macos-latest
compaREST.cabal+1
@@ -207,6 +207,7 @@ test-suite compaREST-tests
207207 Spec.Golden.Extra
208208 Spec.Golden.TraceTree
209209 Paths_compaREST
210+ autogen-modules: Paths_compaREST
210211 build-depends:
211212 , compaREST
212213 , tasty-golden