chore: add repository baseline with Gitea CI
The repository needs its ignore rules, a version file and the workflows that turn a version bump into a signed Arch package published to repo.laxacube.ch.
This commit is contained in:
5 files changed
+446
No files matched your search
@@ -0,0 +1,23 @@
|
||||
name: version
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
print-version:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Read version file
|
||||
run: |
|
||||
set -euo pipefail
|
||||
version="$(tr -d '[:space:]' < version)"
|
||||
if [ -z "$version" ]; then
|
||||
echo "::error file=version::the version file is empty"
|
||||
exit 1
|
||||
fi
|
||||
echo "FWS-DiskCleaner version: $version"
|
||||
Reference in new issue
Block a user