Skip to content

Commit

Permalink
CI: Update to dpl v2
Browse files Browse the repository at this point in the history
This fixes ZIP uploads, which never worked for this repo.
  • Loading branch information
dstillman committed Dec 18, 2024
1 parent 3f33f30 commit cfdba43
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
env:
NODE_OPTIONS: --openssl-legacy-provider

- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true

- name: Upload pre-build ZIP
if: |
env.ACT != 'true'
Expand All @@ -48,8 +53,8 @@ jobs:
cd build/zotero
zip -r ../build-zip/$GITHUB_SHA.zip *
cd ..
sudo gem install --no-document dpl dpl-s3
dpl --provider=s3 --bucket=zotero-download --local-dir=build-zip --upload-dir=ci/client-note-editor --acl=public-read --skip_cleanup=true
gem install --no-document dpl -v '>= 2.0'
dpl s3 --bucket zotero-download --local_dir build-zip --upload_dir ci/client-note-editor --acl public_read
- name: Run tests
run: npm run test

0 comments on commit cfdba43

Please sign in to comment.