Skip to content

Commit

Permalink
fixes release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chrvadala committed Dec 13, 2020
1 parent e9d7125 commit c6cb621
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
jobs:
build:
runs-on: ubuntu-18.04
outputs:
version: ${{ env.VERSION }}
steps:
- uses: actions/checkout@v2
- name: Setup dbus permissions
Expand All @@ -26,6 +24,8 @@ jobs:
name: artifact
path: artifact.tgz
- run: yarn ci
outputs:
version: ${{ env.VERSION }}

npm-publish:
runs-on: ubuntu-18.04
Expand All @@ -42,7 +42,7 @@ jobs:
- run: tar xvzf /tmp/artifact.tgz
- run: yarn publish ./package
env:
VERSION: ${{ fromJSON(needs.build.outputs.version) }}
VERSION: ${{ needs.build.outputs.version }}
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

tag-release:
Expand All @@ -55,7 +55,7 @@ jobs:
git tag $RELEASE
git push --follow-tags
env:
release: v${{ fromJSON(needs.build.outputs.version) }}
release: v${{ needs.build.outputs.version }}

gh-release:
runs-on: ubuntu-18.04
Expand All @@ -66,6 +66,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ fromJSON(needs.build.outputs.version) }}
release_name: Release ${{ fromJSON(needs.build.outputs.version) }}
body: Release ${{ fromJSON(needs.build.outputs.version) }}
tag_name: v${{ needs.build.outputs.version }}
release_name: Release ${{ needs.build.outputs.version }}
body: Release ${{ needs.build.outputs.version }}

0 comments on commit c6cb621

Please sign in to comment.