mirror of
https://github.com/ilyakooo0/deriving-openapi3.git
synced 2024-10-26 10:29:43 +03:00
Upload package
This commit is contained in:
parent
ae714dedcf
commit
c0d6f627e1
12
.github/workflows/build.yaml
vendored
12
.github/workflows/build.yaml
vendored
@ -38,6 +38,10 @@ jobs:
|
||||
${{ runner.os }}-stack-${{ hashFiles('stack.yaml') }}
|
||||
${{ runner.os }}-stack
|
||||
|
||||
- name: Upgrade stack
|
||||
shell: bash
|
||||
run: stack upgrade --git
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: |
|
||||
@ -48,3 +52,11 @@ jobs:
|
||||
run: |
|
||||
stack install ormolu
|
||||
ormolu -o -XTypeApplications -o -XCPP -m check $(find . -type f -name "*.hs")
|
||||
|
||||
- name: Publish candidate
|
||||
shell: bash
|
||||
if: github.event_name == 'release'
|
||||
env:
|
||||
HACKAGE_KEY: ${{ secrets.HACKAGE_TOKEN }}
|
||||
run: |
|
||||
stack upload --pvp-bounds both --test-tarball --candidate .
|
||||
|
Loading…
Reference in New Issue
Block a user