diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 3a348db..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Release on PR or commit -on: - pull_request: - types: - - closed - branches: [ "master" ] - paths-ignore: - - 'readme.md' - - 'docs/**/*' - - '.github/**/*' -jobs: - build: - if: github.repository == 'dbuezas/lgt8fx' && github.event.pull_request.merged == true - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: actions/checkout@v3 - - name: Set env - run: echo "RELEASE_VERSION=$(node make.js)" >> $GITHUB_ENV - - name: Commit & Push changes - uses: stefanzweifel/git-auto-commit-action@v4 - - uses: ncipollo/release-action@v1 - with: - tag: "v${{env.RELEASE_VERSION}}" - artifacts: "lgt8f-${{env.RELEASE_VERSION}}.zip"