mirror of
https://github.com/ARUP-CAS/aiscr-qgis-amcr-viewer.git
synced 2026-06-19 04:12:55 +02:00
@@ -0,0 +1,30 @@
|
|||||||
|
name: Release QGIS Plugin
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-and-release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
# 1. Stáhne kód z repozitáře
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# 2. Vytvoří ZIP (předpokládá, že kód je ve složce 'amcr_viewer')
|
||||||
|
- name: Zip Plugin
|
||||||
|
run: |
|
||||||
|
# Zabalíme složku amcr_viewer do souboru amcr_viewer.zip
|
||||||
|
# -r = rekurzivně, -x = ignorovat skryté git soubory
|
||||||
|
zip -r amcr_viewer.zip amcr_viewer -x "*.git*"
|
||||||
|
|
||||||
|
# 3. Nahraje ZIP k Releasu
|
||||||
|
- name: Upload Release Asset
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
with:
|
||||||
|
files: amcr_viewer.zip
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -15,6 +15,9 @@ authors:
|
|||||||
affiliation: >-
|
affiliation: >-
|
||||||
Czech Academy of Sciences, Institute of Archaeology,
|
Czech Academy of Sciences, Institute of Archaeology,
|
||||||
Brno
|
Brno
|
||||||
|
identifiers:
|
||||||
|
- type: doi
|
||||||
|
value: 10.5281/zenodo.18609813
|
||||||
repository-code: 'https://github.com/ARUP-CAS/aiscr-qgis-amcr-viewer'
|
repository-code: 'https://github.com/ARUP-CAS/aiscr-qgis-amcr-viewer'
|
||||||
abstract: >-
|
abstract: >-
|
||||||
This QGIS plugin is intended for downloading the data
|
This QGIS plugin is intended for downloading the data
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 993 B After Width: | Height: | Size: 993 B |
|
Before Width: | Height: | Size: 967 B After Width: | Height: | Size: 967 B |
Reference in New Issue
Block a user