Skip to content

add release action

add release action #1

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
name: Generate release

Check failure on line 17 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 17, Col: 9): 'name' is already defined .github/workflows/release.yml (Line: 18, Col: 9): Unexpected value 'run'
run: >
git archive --format=tar.gz --prefix=themes/ HEAD:themes/ -o themes.tar.gz
- name: Release
uses: softprops/action-gh-release@v2
with:
files: themes.tar.gz