File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2025 Lennart Dohmann <[email protected] >2+ #
3+ # SPDX-License-Identifier: AGPL-3.0-or-later
4+
5+ name : Release App
6+
7+ on :
8+ push :
9+ tags : ["*"]
10+
11+ jobs :
12+ release :
13+ runs-on : ubuntu-latest
14+ if : startsWith(github.ref, 'refs/tags/')
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - uses : actions/download-artifact@master
19+ with :
20+ name : build-dir
21+ path : build/
22+
23+ - name : write version to output
24+ id : write-version-to-output
25+ run : |
26+ RELEASE_VERSION=${GITHUB_REF#refs/tags/}
27+ echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_OUTPUT
28+
29+ - name : Github Release
30+ uses : softprops/action-gh-release@v2
31+ with :
32+ files : build/artifacts/*
33+
34+ - name : Attach tarball to github release
35+ uses : svenstaro/upload-release-action@v2
36+ id : attach_to_release
37+ with :
38+ repo_token : ${{ secrets.GITHUB_TOKEN }}
39+ file : ./build/artifacts/gdatavaas.tar.gz
40+ asset_name : gdatavaas.tar.gz
41+ tag : ${{ github.ref }}
42+ overwrite : true
43+
44+ - name : Upload app to Nextcloud appstore
45+ uses : nextcloud-releases/nextcloud-appstore-push-action@v1
46+ with :
47+ app_name : gdatavaas
48+ appstore_token : ${{ secrets.VAAS_APPSTORE_TOKEN }}
49+ download_url : ${{ steps.attach_to_release.outputs.browser_download_url }}
50+ app_private_key : ${{ secrets.VAAS_NEXTCLOUD_KEY }}
You can’t perform that action at this time.
0 commit comments