Skip to content

Commit

Permalink
Add build artifacts to release (#636) (#664)
Browse files Browse the repository at this point in the history
* Add build artifacts to release
* Wrap yarn pack into another tarball

---------


(cherry picked from commit 4c5e17d)

Signed-off-by: Matt Provost <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent b264de7 commit 9c0ed86
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,26 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- name: Setup Yarn
run: |
npm uninstall -g yarn
npm i -g [email protected]
yarn install --frozen-lockfile
- name: Generate build
run: |
yarn build
yarn pack --filename oui.tar.gz
mkdir oui && mv oui.tar.gz oui/oui.tar.gz
tar -cvf artifacts.tar.gz oui
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
generate_release_notes: true
generate_release_notes: true
files: |
artifacts.tar.gz

0 comments on commit 9c0ed86

Please sign in to comment.