Skip to content

Commit

Permalink
update setTag action (#3094)
Browse files Browse the repository at this point in the history
* Update setTag.yml

* Update setTag.yml
  • Loading branch information
mcm1957 authored Dec 20, 2023
1 parent 995c8e1 commit 8057293
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/setTag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,20 @@ jobs:
set-tag:
runs-on: ubuntu-latest
steps:
# - uses: actions/setup-node@v4
# with:
# node-version: 18
# - run: npm dist-tag list iobroker.webui
# - run: npm --//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}} dist-tag add iobroker.${{ github.event.inputs.adapter }}@${{ github.event.inputs.release }} ${{ github.event.inputs.tag }}
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm dist-tag list iobroker.webui
- run: npm --//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}} dist-tag add iobroker.${{ github.event.inputs.adapter }}@${{ github.event.inputs.release }} ${{ github.event.inputs.tag }}
- run: npm i
- run: npm run setTag
env:
OWN_GITHUB_TOKEN: ${{ secrets.OWN_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
INPUT_ADAPTER: ${{ github.event.inputs.adapter }}
INPUT_RELEASE: ${{ github.event.inputs.release }}
INPUT_TAG: ${{ github.event.inputs.tag }}

0 comments on commit 8057293

Please sign in to comment.