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

Commit

Permalink
Brings the release workflow inline with other components.
Browse files Browse the repository at this point in the history
  • Loading branch information
notlee authored and JakeChampion committed Aug 11, 2020
1 parent f541336 commit 21f681e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release-origami-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ jobs:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install --only=dev
- name: Repository name
id: repo_name
run: echo ::set-output name=REPO_NAME::$(echo $GITHUB_REPOSITORY | cut -d / -f 2)
- name: Get the version
id: version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- run: npx origami-ci release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_USERCONFIG: ~/.npmrc
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
ORIGAMI_CI_NAME: ${{ steps.repo_name.outputs.REPO_NAME }}
ORIGAMI_CI_VERSION: ${{ steps.version.outputs.VERSION }}
GITHUB_TOKEN: ${{ secrets.ORIGAMI_GITHUB_TOKEN }}

0 comments on commit 21f681e

Please sign in to comment.