Skip to content

Commit

Permalink
CI: Enable ZIP building on fx102 branch
Browse files Browse the repository at this point in the history
Tests are still skipped
  • Loading branch information
dstillman committed Sep 13, 2022
1 parent 223f44f commit 7178bda
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -3,7 +3,6 @@ on: [push, pull_request]
jobs:
build:
name: Build, Upload, Test
if: false # temporarily disabled
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -27,18 +26,21 @@ jobs:
run: apt update && apt install -y zstd xvfb dbus-x11 libgtk-3-0 libx11-xcb1 libdbus-glib-1-2 libxt6

- name: Cache Firefox
if: false # temporarily disabled
id: firefox-cache
uses: actions/cache@v2
with:
path: firefox-x86_64
key: firefox-60.9.0esr

- name: Download Firefox
if: steps.firefox-cache.outputs.cache-hit != 'true'
if: false # temporarily disabled
#if: steps.firefox-cache.outputs.cache-hit != 'true'
run: wget -O tarball "https://zotero-download.s3.us-east-1.amazonaws.com/dev/firefox-60.9.0esr-x86_64-modified.tar.gz"

- name: Extract Firefox
if: steps.firefox-cache.outputs.cache-hit != 'true'
if: false # temporarily disabled
#if: steps.firefox-cache.outputs.cache-hit != 'true'
run: tar xvf tarball

- name: Cache Node modules
Expand All @@ -60,7 +62,7 @@ jobs:
env.ACT != 'true'
&& github.repository == 'zotero/zotero'
&& github.event_name == 'push'
&& (github.ref == 'refs/heads/master' || endsWith(github.ref, '-hotfix') || github.ref == 'refs/heads/gh-actions-ci-test')
&& (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/fx102' || endsWith(github.ref, '-hotfix') || github.ref == 'refs/heads/gh-actions-ci-test')
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -73,6 +75,7 @@ jobs:
dpl --provider=s3 --bucket=zotero-download --local-dir=build-zip --upload-dir=ci/client --acl=public-read --skip_cleanup=true
- name: Run tests
if: false # temporarily disabled
run: xvfb-run test/runtests.sh -x firefox-x86_64/firefox -f

- name: Cache utilities Node modules
Expand Down

0 comments on commit 7178bda

Please sign in to comment.