From c69e92bd70ab7e4d3057477c5572f4b07e7200ec Mon Sep 17 00:00:00 2001 From: bubkoo Date: Fri, 25 Sep 2020 11:08:24 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=91=B7=20auto=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/{publish.yml => release.yml} | 4 ++-- package.json | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) rename .github/workflows/{publish.yml => release.yml} (73%) diff --git a/.github/workflows/publish.yml b/.github/workflows/release.yml similarity index 73% rename from .github/workflows/publish.yml rename to .github/workflows/release.yml index 654063c..8c72db5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: 🚀 Publish +name: 🎁 Release on: push: branches: @@ -8,6 +8,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: tgymnich/publish-github-action@v1 + - uses: bubkoo/release-github-action@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 84a219c..3c9dda4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,11 @@ "name": "welcome-action", "version": "1.0.0", "description": "GitHub action to give a welcome comment on first issue or PR 💖", - "main": "lib/index.js", + "main": "dist/index.js", + "files": [ + "dist", + "action.yml" + ], "scripts": { "clean": "rimraf dist lib", "lint": "tslint -c tslint.json -p tsconfig.json --fix",