Skip to content

Automatically update translation keys #15

Automatically update translation keys

Automatically update translation keys #15

Workflow file for this run

on:
push:
tags:
- '*-*-*'
name: Create release draft
jobs:
build:
name: Create release from tag
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
- name: get node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: download dependencies
run: npm ci
- name: build release
env:
PUBLIC_URL: /admin-ui
run: npm run build
- name: create release tarball
working-directory: build
run: tar -czf "../oc-admin-ui-$(date -u +%F).tar.gz" *
- name: create new release
uses: softprops/action-gh-release@v2
with:
files: ./oc-admin-ui-*.tar.gz
draft: true
fail_on_unmatched_files: true
generate_release_notes: true