;ci: linux: disable unreliable artifact upload causing CI failures

Also we don't need artifacts for every GHC version and every PR.
This commit is contained in:
Simon Michael 2020-06-25 18:01:03 -07:00
parent e089358758
commit 1f707ab0d8
3 changed files with 18 additions and 14 deletions

View File

@ -211,22 +211,24 @@ jobs:
ARGS: ${{ matrix.plan.args }} ARGS: ${{ matrix.plan.args }}
# artifacts: # artifacts:
# XXX unreliable, and we don't need this for every PR; disable for now
- name: Gather executables # - name: Gather executables
run: | # run: |
mkdir tmp # mkdir tmp
cd tmp # cd tmp
mkdir hledger # mkdir hledger
cd hledger # cd hledger
cp ~/.local/bin/hledger . # cp ~/.local/bin/hledger .
cp ~/.local/bin/hledger-ui . # cp ~/.local/bin/hledger-ui .
cp ~/.local/bin/hledger-web . # cp ~/.local/bin/hledger-web .
- name: Upload executables artifact # XXX intermittent upload failures
uses: actions/upload-artifact@v2 # - name: Upload executables artifact
with: # uses: actions/upload-artifact@v2
name: hledger-ubuntu # with:
path: tmp/hledger # name: hledger-ubuntu
# path: tmp/hledger

View File

@ -130,6 +130,7 @@ jobs:
cp ~/.local/bin/hledger-ui . cp ~/.local/bin/hledger-ui .
cp ~/.local/bin/hledger-web . cp ~/.local/bin/hledger-web .
# XXX intermittent upload failures
- name: Upload executables artifact - name: Upload executables artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

View File

@ -150,6 +150,7 @@ jobs:
copy C:\Users\runneradmin\AppData\Roaming\local\bin\hledger.exe . copy C:\Users\runneradmin\AppData\Roaming\local\bin\hledger.exe .
copy C:\Users\runneradmin\AppData\Roaming\local\bin\hledger-web.exe . copy C:\Users\runneradmin\AppData\Roaming\local\bin\hledger-web.exe .
# XXX intermittent upload failures
- name: Create executables artifact - name: Create executables artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with: