Skip to content

Commit 6338240

Browse files
Merge branch 'marticliment:main' into main
2 parents 472d9a7 + 1b5ca34 commit 6338240

File tree

252 files changed

+11905
-5330
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

252 files changed

+11905
-5330
lines changed

.github/workflows/dotnet-test.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ on:
66
- '**.cs'
77
- '**.csproj'
88
- '**.sln'
9+
- '.github/workflows/dotnet-test.yml'
910

1011
pull_request:
1112
branches: [ "main" ]
1213
paths:
1314
- '**.cs'
1415
- '**.csproj'
1516
- '**.sln'
17+
- '.github/workflows/dotnet-test.yml'
1618

1719
workflow_dispatch:
1820

1921
jobs:
20-
2122
test-codebase:
22-
runs-on: windows-latest # For a list of available runner types, refer to
23-
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
23+
runs-on: windows-latest
2424

2525
steps:
2626
- name: Checkout the repository
@@ -37,8 +37,14 @@ jobs:
3737
# - name: Install WinGet
3838
# uses: Cyberboss/install-winget@v1
3939

40+
- name: Install dependencies
41+
working-directory: src
42+
run: dotnet restore
43+
44+
- name: Build
45+
working-directory: src
46+
run: dotnet build --configuration Release --no-restore
47+
4048
- name: Run Tests
41-
run: |
42-
cd src
43-
dotnet test -v q --nologo
44-
cd ..
49+
working-directory: src
50+
run: dotnet test --no-restore --verbosity q --nologo

.github/workflows/translations-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@ jobs:
2727
uses: hmarr/auto-approve-action@v4
2828
with:
2929
review-message: "Tolgee-CI Changes have been approved since they passed testing"
30-

.github/workflows/update-icons.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ on:
44
schedule:
55
- cron: 0 0 * * *
66
workflow_dispatch:
7+
78
jobs:
89
load-icons:
10+
if: github.repository == 'marticliment/UniGetUI'
911
runs-on: windows-latest
12+
1013
steps:
1114
- name: Checkout repository
1215
uses: actions/checkout@v4
16+
1317
- name: Download icons json file
1418
run: |
1519
python -m pip install xlrd==1.2.0
@@ -18,6 +22,7 @@ jobs:
1822
python scripts/generate_json_from_excel.py
1923
git commit WebBasedData/screenshot-database.json -m "Update icons and screenshots"
2024
exit 0
25+
2126
- name: Create Pull Request
2227
uses: peter-evans/create-pull-request@v6
2328
with:

.github/workflows/update-tolgee.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
labels: tolgee-ci
3030
title: "Load translations from Tolgee"
3131
body: ""
32-
asignees: marticliment
32+
assignees: marticliment
3333
author: "Martí Climent <marticlilop@gmail.com>"
3434
commit-message: |
3535
Load updated translations from Tolgee

.github/workflows/winget-prerelease.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ jobs:
1212

1313
steps:
1414
- name: Publish to WinGet
15-
uses: vedantmgoyal2009/winget-releaser@v2
15+
uses: vedantmgoyal2009/winget-releaser@a3ac67b0c3026bc335a33b722188e3ec769d6a64
1616
with:
1717
identifier: MartiCliment.UniGetUI.Pre-Release
18+
installers-regex: 'UniGetUI\.Installer\.exe$'
1819
version: ${{ github.event.release.tag_name }}
1920
token: ${{ secrets.WINGET_TOKEN }}

.github/workflows/winget-stable.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ on:
33
release:
44
types: [released]
55
workflow_dispatch:
6+
67
jobs:
78
publish:
89
runs-on: ubuntu-latest
910
steps:
10-
- uses: vedantmgoyal2009/winget-releaser@v2
11+
- uses: vedantmgoyal2009/winget-releaser@a3ac67b0c3026bc335a33b722188e3ec769d6a64
1112
with:
1213
identifier: MartiCliment.UniGetUI
14+
installers-regex: 'UniGetUI\.Installer\.exe$'
1315
version: ${{ github.event.release.tag_name }}
1416
token: ${{ secrets.WINGET_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,4 @@ InstallerExtras/MsiCreator/UniGetUI Installer.msi
8484
InstallerExtras/MsiCreator/UniGetUISetup.msi
8585
src/global.json
8686
UniGetUI.Installer.ms-store-test.exe
87+
UniGetUI Installer_winget-fix-test.exe

README.md

Lines changed: 47 additions & 57 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)