forked from GitHub/gf-core
Upload artifact directly without copying elsewhere in between
This commit is contained in:
13
.github/workflows/build-macos-package.yml
vendored
13
.github/workflows/build-macos-package.yml
vendored
@@ -24,10 +24,6 @@ jobs:
|
|||||||
ghc-version: ${{ matrix.ghc }}
|
ghc-version: ${{ matrix.ghc }}
|
||||||
cabal-version: ${{ matrix.cabal }}
|
cabal-version: ${{ matrix.cabal }}
|
||||||
|
|
||||||
- name: Check cabal version
|
|
||||||
run: |
|
|
||||||
cabal --version
|
|
||||||
|
|
||||||
- name: Install build tools
|
- name: Install build tools
|
||||||
run: |
|
run: |
|
||||||
brew install \
|
brew install \
|
||||||
@@ -38,12 +34,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
make pkg
|
make pkg
|
||||||
|
|
||||||
- name: Copy packages
|
|
||||||
run: |
|
|
||||||
mkdir macos/dist
|
|
||||||
cp ../gf_*.pkg macos/dist/
|
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
path: macos/dist
|
name: macOS package
|
||||||
|
path: dist/gf_*.pkg
|
||||||
|
if-no-files-found: error
|
||||||
|
|||||||
Reference in New Issue
Block a user