Try generic upload
This commit is contained in:
23
sh.actions/sh.actions.package-cleanup/Models/GiteaConfig.cs
Normal file
23
sh.actions/sh.actions.package-cleanup/Models/GiteaConfig.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace sh.actions.package_cleanup.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Konfiguration für Gitea-Verbindung
|
||||
/// </summary>
|
||||
public class GiteaConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// Basis-URL der Gitea-Instanz (z.B. https://git.example.com)
|
||||
/// </summary>
|
||||
public string GiteaUrl { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// API-Token für Authentifizierung
|
||||
/// </summary>
|
||||
public string ApiToken { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Owner/Username des Pakets
|
||||
/// </summary>
|
||||
public string Owner { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
10
sh.actions/sh.actions.package-cleanup/Models/GiteaPackage.cs
Normal file
10
sh.actions/sh.actions.package-cleanup/Models/GiteaPackage.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace sh.actions.package_cleanup.Models;
|
||||
|
||||
public class GiteaPackage
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Version { get; set; } = string.Empty;
|
||||
public string Type { get; set; } = string.Empty;
|
||||
public DateTime CreatedAt { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user