Skip to content

Commit

Permalink
Revert release action
Browse files Browse the repository at this point in the history
  • Loading branch information
hadynz committed Sep 4, 2022
1 parent 71327cb commit 2c43793
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: Build obsidian plugin

on:
release:
Expand All @@ -10,32 +10,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "15.x"

- name: Update package.json version
uses: jossef/action-set-json-field@v2
with:
file: package.json
field: version
value: ${{ github.ref_name }}

- name: Update manifest.json version
uses: jossef/action-set-json-field@v2
with:
file: manifest.json
field: version
value: ${{ github.ref_name }}

- name: Validate and open PR
uses: guardian/[email protected]
with:
github-token: ${{ secrets.GU_GITHUB_TOKEN }}
node-version: '15.x'

- name: Build
id: build
Expand Down

0 comments on commit 2c43793

Please sign in to comment.