Skip to content

Merge pull request #787 from dennis531/file-remove #13

Merge pull request #787 from dennis531/file-remove

Merge pull request #787 from dennis531/file-remove #13

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