diff --git a/.github/workflows/bundle.yml b/.github/workflows/bundle.yml index 0f1fb80..90c2d9d 100644 --- a/.github/workflows/bundle.yml +++ b/.github/workflows/bundle.yml @@ -40,12 +40,39 @@ jobs: - name: Check run: | bash -n dist/steamify.sh - # SC2034/SC2154: variables used across the inlined modules. - shellcheck -S warning -e SC2034,SC2154 dist/steamify.sh - shellcheck -S warning dist/steamify-app.sh python3 -m py_compile ui/steamify-ui + # shellcheck through an action that brings its own binary: GitHub's runner has it installed, + # Gitea's act_runner image doesn't. One file per run, as before (the exceptions are the bundle's). + - name: shellcheck the bundle + uses: ludeeus/action-shellcheck@2.0.0 + env: + # SC2034/SC2154: variables used across the inlined modules. + SHELLCHECK_OPTS: -e SC2034 -e SC2154 + with: + severity: warning + scandir: dist + ignore_names: steamify-app.sh + - name: shellcheck the app launcher + uses: ludeeus/action-shellcheck@2.0.0 + with: + severity: warning + scandir: dist + ignore_names: steamify.sh + + # The build as an artifact on GitHub and on the mirror (Gitea); releases stay GitHub's. + # Gitea's artifact server doesn't speak upload-artifact@v4's protocol, and GitHub fails a workflow + # that merely mentions the deprecated @v3: Gitea gets christopherhx's fork of v4 for Gitea. - uses: actions/upload-artifact@v4 + if: github.server_url == 'https://github.com' + with: + name: steamify + path: | + dist/steamify.sh + dist/steamify-app.tar.gz + dist/steamify-app.sh + - uses: christopherhx/gitea-upload-artifact@v4 + if: github.server_url != 'https://github.com' with: name: steamify path: | @@ -55,6 +82,7 @@ jobs: - name: Version id: version + if: github.server_url == 'https://github.com' env: GH_TOKEN: ${{ github.token }} run: | @@ -69,6 +97,7 @@ jobs: - name: Publish the v${{ steps.version.outputs.version }} release if: >- + github.server_url == 'https://github.com' && github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && steps.version.outputs.released == 'false' env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 60ffc70..249bfee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes, per version and per commit. Versions follow `steamify.sh`. Versions before 0.7.0 were numbered afterwards, one per merged pull request. +## 2.9.2 - 2026-09-29 + +- **fix(ci): the build also runs on a Gitea mirror (act_runner): shellcheck through ludeeus/action-shellcheck, which brings its own binary; the artifact goes up there with christopherhx/gitea-upload-artifact (GitHub refuses a workflow that mentions the deprecated upload-artifact@v3); releases are only published on GitHub** +- `fe4f3f4` **chore: Version 2.9.2** + ## 2.9.1 - 2026-09-29 - `c87e6c7` **docs: changelog for the CEC driver cache** diff --git a/steamify.sh b/steamify.sh index 2a1e799..eb22518 100755 --- a/steamify.sh +++ b/steamify.sh @@ -15,7 +15,7 @@ set -uo pipefail # Release version, see CHANGELOG.md. -VERSION=2.9.1 +VERSION=2.9.2 SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"