Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setTag.yml #3093

Merged
merged 1 commit into from
Dec 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions .github/workflows/setTag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,27 @@ name: Set tag
on:
workflow_dispatch:
inputs:
action:
tag:
type: choice
description: action to perform
description: select tag to set
options:
- closeIssue
- reopenIssue
- latest
- next
- stable
required: true
repository:
adapter:
type: string
issue:
required: true
release:
type: string
required: true

jobs:
set-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm i
- run: npm run setTag
env:
OWN_GITHUB_TOKEN: ${{ secrets.OWN_GITHUB_TOKEN }}
ACTION: ${{ github.event.inputs.action }}
REPOSITORY: ${{ github.event.inputs.repository }}
ISSUE: ${{ github.event.inputs.issue }}
- 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 }}