Ci test2 Andere Variante #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: Echo tag version | |
run: echo $(git describe --tags || echo ci-test) | |
- name: Run build | |
run: ./build.sh $(git describe --tags || echo ci-test) | |
- name: Prepare Update Manifests | |
run: ./publish.sh $(git describe --tags || echo ci-test ) | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Zotero Swisscovery UB Bern plugin (zipped) | |
path: "build/*.xpi" |