Skip to content

Merge pull request #111 from TaiStudio/dependabot/npm_and_yarn/electr… #145

Merge pull request #111 from TaiStudio/dependabot/npm_and_yarn/electr…

Merge pull request #111 from TaiStudio/dependabot/npm_and_yarn/electr… #145

Workflow file for this run

name: "CI"
on:
push:
branches:
- "main"
jobs:
pre-release:
name: "Pre Release"
runs-on: "windows-latest"
steps:
- uses: actions/checkout@v3
- name: "Build & test"
run: |
npm install
npm run make
echo "done!"
- name: Edit Files
uses: TaiStudio/action-edit-YML@main
with:
type: 'single'
files: "./dist/lastest.yml"
elementSTR: "['files'][0]['url']"
replace: "-"
replaceFor: "."
- name: "Deploy"
if: ${{ startsWith(github.event.commits[0].message, 'v') == true }}
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GH_TOKEN }}"
automatic_release_tag: "${{ github.event.commits[0].message }}"
prerelease: false
title: "${{ github.event.commits[0].message }}"
files: |
dist/*.exe
dist/*.blockmap
dist/latest.yml