Skip to content

Commit

Permalink
attempt to upload proper artifact rather than double-zipped archive, …
Browse files Browse the repository at this point in the history
…see #207
  • Loading branch information
MichelleBlanchette committed May 4, 2024
1 parent 4b08742 commit af961ff
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,21 @@ jobs:
with:
submodules: recursive

- name: Build - Install
run: ./build_install.sh
- name: Build
shell: bash
run: |
./build_install.sh
./build_cleanup.sh
- name: Bundle Package
run: ./bundle.sh
shell: bash
run: ./bundle.sh

- name: Upload ZIP File
uses: actions/upload-artifact@v4
with:
name: ${{ env.PTC_PLUGIN_ZIP_FILE_BASENAME }}
path: ${{ env.PTC_PLUGIN_ZIP_FILE }}
path: ./

- name: Publish WordPress Plugin Release
id: wporg_release
Expand All @@ -47,7 +49,7 @@ jobs:
SVN_USERNAME: ${{ secrets.WPORG_SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.WPORG_SVN_PASSWORD }}

- name: Upload to Server
- name: Upload to PTC Resources Server
if: steps.wporg_release.outcome == 'success' && ${{ contains(github.ref_name, '-rc') }} != true
env:
remote: "github@${{ secrets.PTC_PROD_HOSTNAME }}"
Expand Down

0 comments on commit af961ff

Please sign in to comment.