Upload artifact directly without copying elsewhere in between

This commit is contained in:
John J. Camilleri
2020-11-16 23:41:01 +01:00
parent 30bcafb76f
commit a7ff2d0611

View File

@@ -24,10 +24,6 @@ jobs:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- name: Check cabal version
run: |
cabal --version
- name: Install build tools
run: |
brew install \
@@ -38,12 +34,9 @@ jobs:
run: |
make pkg
- name: Copy packages
run: |
mkdir macos/dist
cp ../gf_*.pkg macos/dist/
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
path: macos/dist
name: macOS package
path: dist/gf_*.pkg
if-no-files-found: error