From b67324f6b661ce1455f4dfde42917d192ca56193 Mon Sep 17 00:00:00 2001 From: Ned Palacios Date: Tue, 2 Apr 2024 18:29:37 +0800 Subject: [PATCH] fix: package workflow release error --- .github/workflows/package.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index de661fb..46cb8a4 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up PHP uses: shivammathur/setup-php@v2 @@ -34,15 +34,11 @@ jobs: - name: Create release id: create_release - uses: softprops/action-gh-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: softprops/action-gh-release@v2 with: name: Release ${{ github.sha }} files: theme.zip tag_name: release-${{ github.sha }} - body: | - Release ${{ github.sha }} draft: false prerelease: false