Skip to content

Ci test2 Andere Variante #10

Ci test2 Andere Variante

Ci test2 Andere Variante #10

Workflow file for this run

# Build Zotero plugin.
name: Build Zotero Swisscovery UB Bern plugin
on:
pull_request:
branches: [ "master" ]
jobs:
build-plugin:
name: Build and release plugin
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup git
run: git config --global user.email "[email protected]" && git config --global user.name "GitHub CI"
- name: Install dependencies
run: sudo apt update && sudo apt install jq
- name: Run build
run: ./build.sh (git describe --tags || echo ci-test)
- name: Prepare Update Manifests
run: ./prepare-updates.sh ( git describe --tags || echo ci-test )
- name: Publish release
run: |
version=$(git describe --tags || echo ci-test)
git add src/install.rdf update.rdf updates.json # src/manifest.json
git commit -m "Release $version" 1>&2
git tag -a -m "Release $version" "$version"
- uses: actions/upload-artifact@v4
with:
name: Zotero Swisscovery UB Bern plugin (zipped)
path: "build/*.xpi"