Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb committed Mar 5, 2020
1 parent 785748f commit 0db9555
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ jobs:
- uses: actions/download-artifact@v1
with:
name: build_release
- name: Check if release requested
- name: Release requested
id: request_release
run: |
if [ ! -f "distibution/manifest.json" ]
then
echo "::set-output name=request_release::1"
fi
if: failure()
run: echo "::set-output name=request_release::1"
- name: Use Node.js ${{ matrix.node-version }}
if: contains(steps.request_release.outputs.request_release, '1')
uses: actions/setup-node@v1
Expand Down Expand Up @@ -64,6 +61,7 @@ jobs:
WEXT_SHIPIT_FIREFOX_JWT_ISSUER: ${{ secrets.JWT_USER }}
WEXT_SHIPIT_FIREFOX_JWT_SECRET: ${{ secrets.JWT_SECRET }}
- uses: actions/upload-artifact@v1
if: contains(steps.request_release.outputs.request_release, '1')
with:
name: build_release
path: distibution/manifest.json

0 comments on commit 0db9555

Please sign in to comment.