Skip to content

Commit 6bf931d

Browse files
Merge pull request #248 from GDATASoftwareAG/main
* fix: correct syntax error in ScanService.php for constant declaration for PHP < 8.3 (#227) * Add a quicker way for development with a local Nextcloud server and the app code changeable inside this server (#234) * Add Nextclouds worklfow templates and apply Nextcloud coding style (#235) * Add maximum scan size setting for file uploads (#236) * Devcontainer and Workflow Performance (#237) - Faster local development in devcontainer - Add Make stages for local fast developing as well as unit and bats tests - Remove unmaintained files from old debugging sessions` - Cleanup unused files and bundle utility scripts * Settings improvements (#238) - Add button to test current vaas configuration - Rename app settings to be more intuitive * Add additional settings (#239) - Control scan timeout - Control usage of cache - Control usage of hash lookup * Refactor logging messages and remove redundant debug statements (#240) * Update README with development environment setup instructions (#241) * Remove unused settings (#242) - Malicious file notifications summary - Scan only new files * Add make target for production like local setup (#243) * Outsource file scan actions (#244)
2 parents 0958f58 + 71e4f7a commit 6bf931d

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/tests.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,46 @@ jobs:
102102
with:
103103
name: build-dir
104104
path: build/
105+
106+
release:
107+
needs:
108+
- tests
109+
- build-devcontainer
110+
runs-on: ubuntu-latest
111+
if: startsWith(github.ref, 'refs/tags/')
112+
steps:
113+
- uses: actions/checkout@v4
114+
115+
- uses: actions/download-artifact@master
116+
with:
117+
name: build-dir
118+
path: build/
119+
120+
- name: write version to output
121+
id: write-version-to-output
122+
run: |
123+
RELEASE_VERSION=${GITHUB_REF#refs/tags/}
124+
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_OUTPUT
125+
126+
- name: Github Release
127+
uses: softprops/action-gh-release@v2
128+
with:
129+
files: build/artifacts/*
130+
131+
- name: Attach tarball to github release
132+
uses: svenstaro/upload-release-action@v2
133+
id: attach_to_release
134+
with:
135+
repo_token: ${{ secrets.GITHUB_TOKEN }}
136+
file: ./build/artifacts/gdatavaas.tar.gz
137+
asset_name: gdatavaas.tar.gz
138+
tag: ${{ github.ref }}
139+
overwrite: true
140+
141+
- name: Upload app to Nextcloud appstore
142+
uses: nextcloud-releases/nextcloud-appstore-push-action@v1
143+
with:
144+
app_name: gdatavaas
145+
appstore_token: ${{ secrets.VAAS_APPSTORE_TOKEN }}
146+
download_url: ${{ steps.attach_to_release.outputs.browser_download_url }}
147+
app_private_key: ${{ secrets.VAAS_NEXTCLOUD_KEY }}

0 commit comments

Comments
 (0)