Skip to content

Commit

Permalink
Merge pull request #3 from wpkitpro/develop
Browse files Browse the repository at this point in the history
Update GitHub release workflow configuration
  • Loading branch information
garikhg authored Dec 3, 2023
2 parents 3f09c7a + 239b8b3 commit 3225cf1
Showing 1 changed file with 9 additions and 25 deletions.
34 changes: 9 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,19 @@
name: Create Release
name: Releases

on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 14

- name: Install Dependencies
run: npm install

- name: Create Release
run: npm run release

- name: Push Tags
run: git push origin --tags

exclude-files:
build:
runs-on: ubuntu-latest
needs: release
permissions:
contents: write
steps:
- name: Remove Unwanted Files
run: |
rm -f .editorconfig .eslintrc.js .gitattributes .gitignore .prettierrc README.md package.json webpack.mix.js yarn.lock
- uses: actions/checkout@v3
- uses: ncipollo/release-action@v1
with:
artifacts: "release.tar.gz,foo/*.txt"
bodyFile: "body.md"

0 comments on commit 3225cf1

Please sign in to comment.