Skip to content

Commit

Permalink
Add build artifacts to release (#636)
Browse files Browse the repository at this point in the history
* Add build artifacts to release

Signed-off-by: Matt Provost <provomat@amazon.com>

* Wrap yarn pack into another tarball

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Matt Provost <provomat@amazon.com>
  • Loading branch information
BSFishy committed Apr 5, 2023
1 parent 2086980 commit 4c5e17d
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 yarn@1.22.10
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 4c5e17d

Please sign in to comment.