git: Fix Fedora spec name and removed caching from Fedora CI (#672)

* changed name to 'imhex' in imhex.spec

* removed CMakeCache for Fedora
This commit is contained in:
iTrooz_ 2022-08-14 10:08:58 +02:00 committed by GitHub
parent 85f0e04d0e
commit b917bfca07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 9 deletions

View file

@ -448,14 +448,7 @@ jobs:
~/.cache/ccache
key: fedora-${{ matrix.release }}-${{ secrets.CACHE_VERSION }}-build-${{ github.run_id }}
restore-keys: fedora-${{ matrix.release }}-${{ secrets.CACHE_VERSION }}-build
- name: 📜 Restore CMakeCache
uses: actions/cache@v3
with:
path: |
~/rpmbuild/BUILDROOT/CMakeCache.txt
key: fedora-${{ matrix.release }}-${{ secrets.CACHE_VERSION }}-build-${{ hashFiles('**/CMakeLists.txt') }}
- name: 📜 Set version variable
run: |
echo "IMHEX_VERSION=`cat VERSION`" >> $GITHUB_ENV

2
dist/rpm/imhex.spec vendored
View file

@ -1,7 +1,7 @@
# ftbfs without this
%global _lto_cflags %{nil}
Name: ImHex
Name: imhex
Version: %{_version}
Release: 0%{?dist}
Summary: A hex editor for reverse engineers and programmers