Skip to content

Commit

Permalink
feat(ci): persist artifacts from dist/
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Marcin Rataj <[email protected]>
  • Loading branch information
lidel committed Oct 1, 2020
1 parent fb20c6d commit 644f4e9
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
${{ runner.os }}-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci --prefer-offline --no-audit --progress=false --cache .cache/npm

- name: Build
Expand All @@ -64,3 +63,18 @@ jobs:
github_token: ${{ secrets.github_token }}
windows_certs: ${{ secrets.windows_certs }}
windows_certs_password: ${{ secrets.windows_certs_password }}

# Persist produced binaries and effective config used for building them
# - this is not for releases, but for quick testing during the dev
# - action artifacts can be downloaded for 90 days, then are removed by github
# - binaries in PRs from forks won't be signed
- name: Attach produced packages to Github Action
uses: actions/upload-artifact@v2
with:
name: dist-${{ matrix.os }}
path: |
dist/builder-effective-config.yaml
dist/ipfs-desktop*.*
dist/IPFS-Desktop*.*
!dist/*-unpacked
if-no-files-found: error

0 comments on commit 644f4e9

Please sign in to comment.