Merge pull request #151 from Stremio/release-asset-action

Release action configured with github packages
This commit is contained in:
Nikola Hristov 2020-04-02 18:35:54 +03:00 committed by GitHub
commit 3af4ffa548
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,10 +13,15 @@ jobs:
steps:
- uses: actions/checkout@v1
name: Checkout
- uses: actions/setup-node@v1
name: Setup Node
with:
registry-url: 'https://npm.pkg.github.com'
- name: Build
run: |
echo -e "[url \"https://github.com/\"]\n\tinsteadOf = ssh://git@github.com/" > ~/.gitconfig
yarn install && yarn build
run: yarn install && yarn build
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: zip -r stremio-web.zip ./build
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v1-release