Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
13c70ba
fix naming error
frequency403 Mar 24, 2026
01162ec
fix icon name
frequency403 Mar 24, 2026
fe3ef20
Fix startup error when files are not readable. (#18)
frequency403 Mar 24, 2026
b3e8a9c
remove warnings as error in csproj
frequency403 Mar 24, 2026
bbbe8ea
remove warnings as error in csproj
frequency403 Mar 24, 2026
f536d95
Merge branch 'master' into development
frequency403 Mar 24, 2026
e4807aa
Merge branch 'development' into release/v3.0.1
frequency403 Mar 24, 2026
d99e92f
Fix and Optimize Configuration, SSH Key Handling, and UI (#21)
frequency403 Jun 9, 2026
8ee5e98
Introduce new workflows: auto-tag refinement, unit tests, build-and-p…
frequency403 Jun 9, 2026
5fbbd39
Bump version to 3.1.0, improve PKGBUILD formatting, and fix SSH key f…
frequency403 Jun 9, 2026
cdff101
Add `build-and-package.yml` and `test.yml` workflows; refine asset pr…
frequency403 Jun 9, 2026
1431a2d
Refactor workflows: streamline asset preparation, reorganize director…
frequency403 Jun 9, 2026
638c3b8
Update `staging.yml`: adjust dependencies for `deploy-aur-nightly` an…
frequency403 Jun 9, 2026
d7f6b4b
Refactor GitHub Actions workflows: improve artifact handling and enha…
frequency403 Jun 9, 2026
ec44535
Update `staging.yml`: add `build` dependency for `deploy-aur-nightly`…
frequency403 Jun 9, 2026
08afa89
Revamp README: overhaul content structure, include new features, upda…
frequency403 Jun 9, 2026
f9f6e48
Bump version to 3.1.1; update PKGBUILD, normalize version logic in wo…
frequency403 Jun 9, 2026
107d24e
Merge branch 'master' into release/v3.1.1
frequency403 Jun 9, 2026
4a91f0a
Bump version to 3.1.2; update PKGBUILD, enhance version normalization…
frequency403 Jun 10, 2026
2ba45d1
Merge branch 'master' into release/v3.1.2
frequency403 Jun 10, 2026
75c82ec
Enhance Komac installation in workflow: dynamically fetch latest rele…
frequency403 Jun 10, 2026
2ae51bf
Refactor GitHub Actions: modularize workflows, add custom composite a…
frequency403 Jun 10, 2026
36859b5
Merge remote-tracking branch 'origin/master' into release/v3.1.3
frequency403 Jun 10, 2026
e4f25b4
Add `actions/checkout@v4` to workflows for consistent repository access.
frequency403 Jun 10, 2026
1180366
Refactor `install-komac` action: enhance reliability with `gh` CLI in…
frequency403 Jun 10, 2026
07e469a
Remove `install-komac` action, update GitHub Actions to latest versio…
frequency403 Jun 11, 2026
56c683e
Remove unused `needs: detect-tfm` property from `.github/actions/dotn…
frequency403 Jun 11, 2026
237e273
Remove nightly GitHub Release action from staging workflow
frequency403 Jun 11, 2026
c38234b
resolve warning IL3000
frequency403 Jun 11, 2026
f0c32b2
Remove nightly support and update workflows to reflect changes
frequency403 Jun 11, 2026
0ac2a6f
Update PKGBUILD to include date and commit hash in versioning
frequency403 Jun 11, 2026
d131b9b
Sync auto-tag workflow with development process:
frequency403 Jun 11, 2026
37cc849
Simplify test workflow by removing conditional triggers based on even…
frequency403 Jun 11, 2026
b13d554
Merge branch 'master' into development
frequency403 Jun 11, 2026
8afddd6
Update auto-tag workflow: Remove "Sync Development" from job name
frequency403 Jun 11, 2026
7be1315
Release v3.1.6 -Update workflows and versioning logic for improved CI…
frequency403 Jun 11, 2026
e3a39c0
Update workflows and dependencies:
frequency403 Jun 11, 2026
8e3e88c
Enhance `determine-version` action and workflows:
frequency403 Jun 11, 2026
7c01d3c
Add sparse checkout for `determine-version` action in staging workflow
frequency403 Jun 11, 2026
4518330
Disable sparse checkout cone mode in `determine-version` action
frequency403 Jun 11, 2026
4124234
Remove redundant `ref` input from `actions/checkout` in staging workflow
frequency403 Jun 11, 2026
f7c5394
Remove `fetch-depth` input from checkout step in staging workflow
frequency403 Jun 11, 2026
ed7aaaa
Simplify staging workflow by reducing inputs and removing sparse chec…
frequency403 Jun 11, 2026
aa6cb1a
..
frequency403 Jun 11, 2026
cbab03c
verion bump
frequency403 Jun 11, 2026
f715bf4
Update staging workflow to include post-process step for branch checkout
frequency403 Jun 11, 2026
11cc4fa
Update staging workflow: fix branch checkout logic in post-process step
frequency403 Jun 11, 2026
c871fed
Simplify staging workflow by removing post-process step for branch ch…
frequency403 Jun 11, 2026
663e6da
Update dependencies in staging workflow: downgrade checkout action an…
frequency403 Jun 11, 2026
9d11fc0
fix: correct AUR action parameters (commit_username → author_name, co…
frequency403 Jun 11, 2026
bc4507d
fix: add force flag and increase fetch-depth for AUR git deployment
frequency403 Jun 11, 2026
71cf2d9
fix: add force flag and revert to correct AUR action parameters
frequency403 Jun 11, 2026
a70d0b6
fix: correct AUR action to use commit_username and commit_email param…
frequency403 Jun 11, 2026
d1562a2
fix: explicitly specify master branch for AUR deployment to avoid ref…
frequency403 Jun 11, 2026
9460756
refactor: replace KSXGitHub action with custom git clone and push for…
frequency403 Jun 11, 2026
43664f5
fix: setup SSH key before cloning AUR repository
frequency403 Jun 11, 2026
ca475c2
fix: simplify AUR deployment with correct paths and environment varia…
frequency403 Jun 11, 2026
7d04c01
fix: explicitly create and switch to the master branch during AUR dep…
frequency403 Jun 11, 2026
66d0b8a
fix: ensure branch tracks origin/master during AUR deployment
frequency403 Jun 11, 2026
fc4282b
fix: include .SRCINFO generation during AUR deployment
frequency403 Jun 11, 2026
09635e9
fix: run makepkg as non-root user during AUR deployment
frequency403 Jun 11, 2026
33f87af
fix: update .SRCINFO generation command in AUR deployment
frequency403 Jun 11, 2026
a92207a
refactor: add reusable deploy-aur action and integrate with workflows
frequency403 Jun 11, 2026
06d5265
chore: bump BaseVersion to 3.1.7 in Directory.Build.props
frequency403 Jun 11, 2026
6840076
Merge branch 'master' into development
frequency403 Jun 11, 2026
8cfa26a
Migrate workflows and clean up composite GitHub Actions:
frequency403 Jun 12, 2026
782152e
Update PKGBUILD for version 3.2.0 with new dependencies, build optimi…
frequency403 Jun 12, 2026
23893ff
Add NSIS installer for Windows, update .desktop metadata, and restruc…
frequency403 Jun 15, 2026
bab7728
- Refactor logging: replace `FileName` with `ClassName` for improved …
frequency403 Jun 16, 2026
b0c7364
Bump BaseVersion to 3.2.1 in Directory.Build.props
frequency403 Jun 16, 2026
9671027
Add version comparison workflow to enforce release > master version i…
frequency403 Jun 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 0 additions & 127 deletions .github/actions/build-appimage/action.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/actions/dotnet-publish/action.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/actions/dotnet-setup/action.yml

This file was deleted.

126 changes: 100 additions & 26 deletions .github/workflows/build-and-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
version:
required: true
type: string
is_nightly:
required: false
type: boolean
default: false
asset_name_prefix:
required: false
type: string
Expand All @@ -34,9 +30,16 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v6

- name: Setup .NET environment
uses: ./.github/actions/dotnet-setup
uses: actions/setup-dotnet@v5
with:
global-json-file: global.json
cache: true
cache-dependency-path: |
**/*.csproj
**/Directory.Packages.props
**/Directory.Build.props

- name: Normalize version and build flags
id: meta
Expand All @@ -47,20 +50,32 @@ jobs:
VERSION="${VERSION#v}"
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"

EXTRA_ARGS=""
if [[ "${{ inputs.is_nightly }}" == "true" ]]; then
EXTRA_ARGS="-p:IsNightly=true"
fi
echo "EXTRA_ARGS=$EXTRA_ARGS" >> "$GITHUB_OUTPUT"
- name: Install/Restore dependencies
shell: bash
run: dotnet restore

- name: Build application
shell: bash
run: |
set -euo pipefail
dotnet build OpenSSH_GUI/OpenSSH_GUI.csproj \
--configuration Release \
--no-restore \
--runtime "${{ matrix.target }}" \
-p:Version="${{ steps.meta.outputs.VERSION }}"

- name: Publish application
uses: ./.github/actions/dotnet-publish
with:
project-path: OpenSSH_GUI/OpenSSH_GUI.csproj
runtime: ${{ matrix.target }}
version: ${{ steps.meta.outputs.VERSION }}
output-dir: ./publish
extra-msbuild-args: ${{ steps.meta.outputs.EXTRA_ARGS }}
shell: bash
run: |
set -euo pipefail
dotnet publish OpenSSH_GUI/OpenSSH_GUI.csproj \
--configuration Release \
--runtime "${{ matrix.target }}" \
--output ./publish \
-p:PublishSingleFile=true \
-p:PublishReadyToRun=true \
-p:IncludeNativeLibrariesForSelfExtract=true \
-p:Version="${{ steps.meta.outputs.VERSION }}"

- name: Rename artifact for distribution
id: rename
Expand All @@ -76,22 +91,81 @@ jobs:
mv "$SOURCE" "./publish/$ASSET_NAME"
echo "ASSET_NAME=$ASSET_NAME" >> "$GITHUB_OUTPUT"

- name: Prepare AppImage inputs
if: matrix.target == 'linux-x64'
id: appimage-meta
shell: bash
run: |
set -euo pipefail

sudo apt-get update -qq
sudo apt-get install -y --no-install-recommends librsvg2-bin appstream

APP_ID="io.github.frequency403.openssh_gui"
APPIMAGE_NAME="${{ inputs.asset_name_prefix }}-x86_64.AppImage"
APPSTREAM_VERSION="${{ steps.meta.outputs.VERSION }}"

mkdir -p AppDir/usr/bin
mkdir -p AppDir/usr/share/icons/hicolor/256x256/apps
mkdir -p AppDir/usr/share/icons/hicolor/scalable/apps
mkdir -p AppDir/usr/share/applications
mkdir -p AppDir/usr/share/metainfo

cp "./publish/${{ steps.rename.outputs.ASSET_NAME }}" AppDir/usr/bin/openssh-gui
chmod +x AppDir/usr/bin/openssh-gui

rsvg-convert -w 256 -h 256 images/openssh-gui.svg \
-o AppDir/usr/share/icons/hicolor/256x256/apps/openssh-gui.png
cp images/openssh-gui.svg \
AppDir/usr/share/icons/hicolor/scalable/apps/openssh-gui.svg
cp AppDir/usr/share/icons/hicolor/256x256/apps/openssh-gui.png AppDir/openssh-gui.png
cp AppDir/usr/share/icons/hicolor/256x256/apps/openssh-gui.png AppDir/appicon.png

METAINFO_DEST="AppDir/usr/share/metainfo/${APP_ID}.metainfo.xml"
cp "appimage/${APP_ID}.metainfo.xml" "$METAINFO_DEST"
sed -i \
"s|<release version=\"0.0.0\" date=\"1970-01-01\"/>|<release version=\"${APPSTREAM_VERSION}\" date=\"$(date +%Y-%m-%d)\"/>|" \
"$METAINFO_DEST"

appstreamcli make-desktop-file \
"$METAINFO_DEST" \
"AppDir/usr/share/applications/${APP_ID}.desktop"
cp "AppDir/usr/share/applications/${APP_ID}.desktop" \
"AppDir/${APP_ID}.desktop"

cp appimage/AppRun AppDir/AppRun
chmod +x AppDir/AppRun

echo "APPIMAGE_NAME=$APPIMAGE_NAME" >> "$GITHUB_OUTPUT"
echo "LINUX_ASSET_NAME=${{ steps.rename.outputs.ASSET_NAME }}" >> "$GITHUB_ENV"
echo "APPSTREAM_VERSION=$APPSTREAM_VERSION" >> "$GITHUB_ENV"

- name: Build AppImage
if: matrix.target == 'linux-x64'
id: appimage
uses: ./.github/actions/build-appimage
uses: AppImageCrafters/build-appimage-action@master
with:
binary-path: ./publish/${{ steps.rename.outputs.ASSET_NAME }}
version: ${{ steps.meta.outputs.VERSION }}
is-nightly: ${{ inputs.is_nightly }}
asset-prefix: ${{ inputs.asset_name_prefix }}
recipe: appimage/AppImageBuilder.yml

- name: Rename AppImage
if: matrix.target == 'linux-x64'
shell: bash
run: |
set -euo pipefail
BUILT_APPIMAGE="$(find . -maxdepth 1 -type f -name '*.AppImage' | head -n 1)"

if [[ -z "$BUILT_APPIMAGE" ]]; then
echo "::error::No AppImage was produced"
exit 1
fi

mv "$BUILT_APPIMAGE" "${{ steps.appimage-meta.outputs.APPIMAGE_NAME }}"

- name: Upload AppImage
if: matrix.target == 'linux-x64'
uses: actions/upload-artifact@v7
with:
name: ${{ steps.appimage.outputs.appimage-name }}
path: ${{ steps.appimage.outputs.appimage-name }}
name: ${{ steps.appimage-meta.outputs.APPIMAGE_NAME }}
path: ${{ steps.appimage-meta.outputs.APPIMAGE_NAME }}
if-no-files-found: error

- name: Upload .desktop file
Expand Down
Loading
Loading