summaryrefslogtreecommitdiff
path: root/.forgejo/workflows/build-iso.yml
diff options
context:
space:
mode:
authorNippy <nippy@Nippy-Mac-mini.local>2026-10-09 17:45:59 +0200
committerNippy <nippy@Nippy-Mac-mini.local>2026-10-09 17:45:59 +0200
commit555a8fbbc0c5b7d753803076c06d2f0c3cdf4aea (patch)
treeb34a994f32193b0df0291b114eeac399b5914f6e /.forgejo/workflows/build-iso.yml
parent224347aee80daad096556250a2939d9e3fd31880 (diff)
downloadRaveOS-build-iso-555a8fbbc0c5b7d753803076c06d2f0c3cdf4aea.tar.gz
RaveOS-build-iso-555a8fbbc0c5b7d753803076c06d2f0c3cdf4aea.zip
new update
Diffstat (limited to '.forgejo/workflows/build-iso.yml')
-rw-r--r--.forgejo/workflows/build-iso.yml25
1 files changed, 22 insertions, 3 deletions
diff --git a/.forgejo/workflows/build-iso.yml b/.forgejo/workflows/build-iso.yml
index 80723a2..75e3db7 100644
--- a/.forgejo/workflows/build-iso.yml
+++ b/.forgejo/workflows/build-iso.yml
@@ -4,6 +4,14 @@ on:
push:
branches: ["main"]
workflow_dispatch:
+ inputs:
+ release:
+ description: "ISO publikálása (feltöltés, release, Discord, weboldal)"
+ type: choice
+ options:
+ - "no"
+ - "yes"
+ default: "no"
jobs:
build-iso:
@@ -175,7 +183,17 @@ jobs:
fi
echo "ISO library ellenorzes: OK"
+ - name: Upload ISO artifact (nem publikus)
+ if: success()
+ continue-on-error: true
+ uses: actions/upload-artifact@v4
+ with:
+ name: raveos-iso
+ path: output/*.iso
+ retention-days: 7
+
- name: Upload ISO to release server
+ if: success() && github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'yes'
run: |
set -euo pipefail
ISO_FILE=$(ls output/*.iso | head -1)
@@ -195,6 +213,7 @@ jobs:
echo "ISO_NAME=${ISO_NAME}" >> "$GITHUB_ENV"
- name: Create Forgejo Release with external link
+ if: success() && github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'yes'
run: |
set -euo pipefail
@@ -248,7 +267,7 @@ jobs:
done
- name: Update Shlink short URL
- if: success()
+ if: success() && github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'yes'
env:
SHLINK_URL: ${{ secrets.SHLINK_URL }}
SHLINK_API_KEY: ${{ secrets.SHLINK_API_KEY }}
@@ -273,7 +292,7 @@ jobs:
-d "{\"longUrl\":\"${LONG_URL}\"}" || true
- name: Discord notification
- if: success()
+ if: success() && github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'yes'
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
TAG: ${{ env.TAG }}
@@ -292,7 +311,7 @@ jobs:
bash scripts/discord-notify.sh "${DISCORD_WEBHOOK}" "${TAG}" "${ISO_NAME}" "${ISO_SHA256}"
- name: Update website release data (rp1-blog)
- if: success()
+ if: success() && github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'yes'
env:
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
TAG: ${{ env.TAG }}