dependencies und checkout von Erik übernommen
Some checks failed
Release Plugin / release (push) Failing after 3s
Some checks failed
Release Plugin / release (push) Failing after 3s
This commit is contained in:
@@ -8,17 +8,20 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: alpine-latest
|
runs-on: alpine-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: sh
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: apk add --no-cache zip curl
|
run: |
|
||||||
|
apk add --no-cache git zip curl jq
|
||||||
|
git config --global http.sslVerify false
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
curl -s -L \
|
git clone --depth 1 --branch ${{ github.ref_name }} https://x-access-token:${{ gitea.token }}@entwicklung.flurneuordnung-sachsen.de/${{ github.repository }}.git .
|
||||||
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
|
||||||
"${{ vars.GITEA_URL }}/api/v1/repos/${{ github.repository }}/archive/${{ github.sha }}.tar.gz" \
|
|
||||||
-o repo.tar.gz
|
|
||||||
tar -xzf repo.tar.gz --strip-components=1
|
|
||||||
rm repo.tar.gz
|
|
||||||
- name: Determine version and channel
|
- name: Determine version and channel
|
||||||
id: info
|
id: info
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user