Skip to content

fix: repo path

fix: repo path #6

Workflow file for this run

name: Create new draft release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
path: foundry-mgl

Check failure on line 11 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Create new draft release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 11, Col: 9): Unexpected value 'path'
- name: Create module.zip
run: |
sudo apt install nodejs npm -y
npm install -D
npm run build
zip -r module.zip "${{ github.workspace }}/foundry-mgl"
- name: Create new draft release
id: create_release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: ${{ github.ref_name }}
draft: true
title: ${{ github.ref_name }}
files: |
module.zip
module.json