Skip to content

Set tag

Set tag #16

Workflow file for this run

name: Set tag
# set tag
on:
workflow_dispatch:
inputs:
tag:
type: choice
description: select tag to set
options:
- latest
- next
- stable
required: true
adapter:
type: string
required: true
release:
type: string
required: true
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 }}