From 405eb2c2ba70e41e25ea84abf598f88ce5b3f884 Mon Sep 17 00:00:00 2001 From: Brian Coords Date: Thu, 25 Apr 2024 07:50:37 -0700 Subject: [PATCH 1/4] test updated actions --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4d4baa..9c801db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build plugin # Remove or modify this step as needed run: | @@ -27,13 +27,13 @@ jobs: exclusions: '*.git* /*node_modules/*' - name: Upload release artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: release path: block-theme.zip - name: Upload Release - uses: ncipollo/release-action@v1.12.0 + uses: ncipollo/release-action@v1.14.0 with: artifacts: "block-theme.zip" token: ${{ secrets.GITHUB_TOKEN }} From 0f21499715ad7ad5d2ad00de8b40e31dfc9f5a14 Mon Sep 17 00:00:00 2001 From: Brian Coords Date: Thu, 25 Apr 2024 08:09:36 -0700 Subject: [PATCH 2/4] updates artifact name --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c801db..f8a84a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,5 +35,5 @@ jobs: - name: Upload Release uses: ncipollo/release-action@v1.14.0 with: - artifacts: "block-theme.zip" + artifacts: "release.zip" token: ${{ secrets.GITHUB_TOKEN }} From 6d05e6c4e020d7d0240d8860df9e240836817eb8 Mon Sep 17 00:00:00 2001 From: Brian Coords Date: Thu, 25 Apr 2024 08:40:20 -0700 Subject: [PATCH 3/4] test 10up action --- .github/workflows/release.yml | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f8a84a8..3aebe8f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,21 +19,7 @@ jobs: npm install npm run build - - name: Archive release - uses: thedoctor0/zip-release@0.7.1 - with: - type: 'zip' - filename: 'block-theme.zip' - exclusions: '*.git* /*node_modules/*' - - - name: Upload release artifact - uses: actions/upload-artifact@v4 - with: - name: release - path: block-theme.zip - - - name: Upload Release - uses: ncipollo/release-action@v1.14.0 - with: - artifacts: "release.zip" - token: ${{ secrets.GITHUB_TOKEN }} + - name: Generate zip + uses: 10up/action-wordpress-plugin-build-zip@stable + env: + SLUG: block-theme From 0b2efc8c56b9a29d7c8429a9e7cfdc88e0f67b85 Mon Sep 17 00:00:00 2001 From: Brian Coords Date: Thu, 25 Apr 2024 08:42:35 -0700 Subject: [PATCH 4/4] test aligning names --- .github/workflows/release.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3aebe8f..8f2650a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,21 @@ jobs: npm install npm run build - - name: Generate zip - uses: 10up/action-wordpress-plugin-build-zip@stable - env: - SLUG: block-theme + - name: Archive release + uses: thedoctor0/zip-release@0.7.5 + with: + type: 'zip' + filename: 'release.zip' + exclusions: '*.git* /*node_modules/*' + + - name: Upload release artifact + uses: actions/upload-artifact@v4 + with: + name: release + path: release.zip + + - name: Upload Release + uses: ncipollo/release-action@v1.14.0 + with: + artifacts: "release.zip" + token: ${{ secrets.GITHUB_TOKEN }}