Compare commits

..

1 Commits

Author SHA1 Message Date
madonuko 8aabc242d6 feat(ci): use same cache if branch+arch are same 2026-06-15 18:30:04 +08:00
4 changed files with 2 additions and 42 deletions
+2 -2
View File
@@ -63,8 +63,8 @@ jobs:
if: ${{ !contains(matrix.pkg.labels.sccache, '0') }}
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
SCCACHE_GHA_VERSION: ${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }}
SCCACHE_GHA_CACHE_FROM: ${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }}
SCCACHE_GHA_VERSION: ${{ matrix.version }}-${{ matrix.pkg.arch }}
SCCACHE_GHA_CACHE_FROM: ${{ matrix.version }}-${{ matrix.pkg.arch }}
with:
script: |
const script = require('./.github/scripts/configure-sccache.js')
-5
View File
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "linsh.spec"
}
}
-34
View File
@@ -1,34 +0,0 @@
%define debug_package %{nil}
Name: linsh
Version: 0.02
Release: 1%{?dist}
Summary: Linux shell
License: GPL-2.0-or-later
URL: https://github.com/maxskiier/linsh
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
Packager: Owen Zimmerman <owen@fyralabs.com>
BuildRequires: make
BuildRequires: gcc
%description
%{summary}.
%prep
%autosetup
%build
%make_build
%install
install -Dm755 linsh %{buildroot}%{_bindir}/linsh
%files
%license LICENSE
%doc README.txt
%{_bindir}/linsh
%changelog
* Mon Jun 15 2026 Owen Zimmerman <owen@fyralabs.com> - 0.02-1
- Initial package
-1
View File
@@ -1 +0,0 @@
rpm.version(gh_tag("maxskiier/linsh"));