Merge pull request #143 from umarcor/ci-artifacts
ci/Release: replace openFPGALoader-Documentation subdir with a tarball
This commit is contained in:
commit
486d60e98c
|
|
@ -22,9 +22,14 @@ jobs:
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
skip-deploy: ${{ github.event_name == 'pull_request' }}
|
skip-deploy: ${{ github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
|
- name: '🧹 Clean HTML build'
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
|
run: sudo rm -rf doc/_build/html/.git
|
||||||
|
|
||||||
- name: '📤 Upload artifact: HTML'
|
- name: '📤 Upload artifact: HTML'
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
name: openFPGALoader-Documentation
|
||||||
path: doc/_build/html
|
path: doc/_build/html
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -242,10 +247,16 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: artifact
|
path: artifact
|
||||||
|
|
||||||
|
- name: '✉️ Package Documentation'
|
||||||
|
run: |
|
||||||
|
cd artifact
|
||||||
|
tar cvzf openFPGALoader-Documentation.tar.gz openFPGALoader-Documentation
|
||||||
|
rm -rf openFPGALoader-Documentation
|
||||||
|
|
||||||
# Tagged: create a pre-release or a release (semver)
|
# Tagged: create a pre-release or a release (semver)
|
||||||
# Untagged: update the assets of pre-release 'nightly'
|
# Untagged: update the assets of pre-release 'nightly'
|
||||||
- uses: eine/tip@master
|
- uses: '📦 eine/tip@master'
|
||||||
with:
|
with:
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
tag: 'nightly'
|
tag: 'nightly'
|
||||||
files: artifact/*-openFPGALoader/*
|
files: artifact/**/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue