Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,14 @@ jobs:
repository: wp-cli/builds
token: ${{ secrets.ACTIONS_BOT }}

- name: Check out bundle repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: ${{ github.repository }}
ref: ${{ github.sha }}
path: bundle
Comment thread
swissspidy marked this conversation as resolved.
persist-credentials: false

- name: Download built Phar file
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
Expand All @@ -282,10 +290,10 @@ jobs:
sudo apt-get update
sudo apt-get install rpm rpmlint -y

- name: Download RPM build configuration
- name: Copy RPM build configuration
run: |
wget -O wp-cli-rpm.spec https://raw.githubusercontent.com/wp-cli/wp-cli-bundle/main/utils/wp-cli-rpm.spec
wget -O wp-cli-updaterpm.sh https://raw.githubusercontent.com/wp-cli/wp-cli-bundle/main/utils/wp-cli-updaterpm.sh
cp bundle/utils/wp-cli-rpm.spec .
cp bundle/utils/wp-cli-updaterpm.sh .

- name: Build RPM package
run: |
Expand Down Expand Up @@ -353,6 +361,14 @@ jobs:
repository: wp-cli/builds
token: ${{ secrets.ACTIONS_BOT }}

- name: Check out bundle repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: ${{ github.repository }}
ref: ${{ github.sha }}
path: bundle
persist-credentials: false

- name: Download built Phar file
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
Expand All @@ -363,9 +379,9 @@ jobs:
sudo apt-get update
sudo apt-get install fakeroot lintian -y

- name: Download DEB build configuration
- name: Copy DEB build configuration
run: |
wget -O wp-cli-updatedeb.sh https://raw.githubusercontent.com/wp-cli/wp-cli-bundle/main/utils/wp-cli-updatedeb.sh
cp bundle/utils/wp-cli-updatedeb.sh .

- name: Build DEB package
run: |
Expand Down
Loading