diff --git a/.github/workflows/build_pipeline.yml b/.github/workflows/build_pipeline.yml new file mode 100644 index 00000000..72c301ec --- /dev/null +++ b/.github/workflows/build_pipeline.yml @@ -0,0 +1,59 @@ +name: Build & Deploy + +on: + push: + branches: + - development + - master + workflow_dispatch: + +jobs: + run-tests: + uses: ./.github/workflows/run_tests.yml + build: + needs: run-tests + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + # version can be found here https://dotnet.microsoft.com/en-us/download/dotnet/9.0 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 9.0.x + + - name: Install wasm-tools + run: dotnet workload install wasm-tools + + - name: Build release + run: dotnet publish AudioCuesheetEditor --configuration Release --output release + + - name: Upload Build Artifact + uses: actions/upload-artifact@v4 + with: + name: AudioCuesheetEditor-Release + path: ./release + + deploy: + needs: build + runs-on: ubuntu-latest + environment: |- + ${{ + github.ref_name == 'master' && 'Production' + || 'Preview' + }} + steps: + - name: Download Build Artifact + uses: actions/download-artifact@v4 + with: + name: AudioCuesheetEditor-Release + - name: Deploy to Netlify + uses: nwtgck/actions-netlify@v3 + with: + publish-dir: './wwwroot' + production-deploy: true + fails-without-credentials: true + env: + NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} + NETLIFY_SITE_ID: ${{ vars.NETLIFY_SITE_ID }} diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 806d6281..a8707ee7 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -1,6 +1,7 @@ -name: Run tests +name: Run Tests on: + workflow_call: pull_request: jobs: diff --git a/AudioCuesheetEditor.End2EndTests/Pages/AboutTest.cs b/AudioCuesheetEditor.End2EndTests/Pages/AboutTest.cs index f043afd9..8cebf90a 100644 --- a/AudioCuesheetEditor.End2EndTests/Pages/AboutTest.cs +++ b/AudioCuesheetEditor.End2EndTests/Pages/AboutTest.cs @@ -7,7 +7,7 @@ namespace AudioCuesheetEditor.End2EndTests.Pages public class AboutTest : PageTest { [TestInitialize] - public async Task TestInitialize() + public async Task TestInitializeAsync() { await Context.Tracing.StartAsync(new() { @@ -19,7 +19,7 @@ await Context.Tracing.StartAsync(new() } [TestCleanup] - public async Task TestCleanup() + public async Task TestCleanupAsync() { var failed = new[] { UnitTestOutcome.Failed, UnitTestOutcome.Error, UnitTestOutcome.Timeout, UnitTestOutcome.Aborted }.Contains(TestContext.CurrentTestOutcome); @@ -34,7 +34,7 @@ await Context.Tracing.StopAsync(new() } [TestMethod] - public async Task HasTitle() + public async Task HasTitleAsync() { await Page.GotoAsync("http://localhost:5132/about"); await Expect(Page).ToHaveTitleAsync("AudioCuesheetEditor"); diff --git a/AudioCuesheetEditor.End2EndTests/Pages/IndexTest.cs b/AudioCuesheetEditor.End2EndTests/Pages/IndexTest.cs index 33127956..95959c26 100644 --- a/AudioCuesheetEditor.End2EndTests/Pages/IndexTest.cs +++ b/AudioCuesheetEditor.End2EndTests/Pages/IndexTest.cs @@ -8,7 +8,7 @@ namespace AudioCuesheetEditor.End2EndTests.Pages public class IndexTest : PageTest { [TestInitialize] - public async Task TestInitialize() + public async Task TestInitializeAsync() { await Context.Tracing.StartAsync(new() { @@ -20,7 +20,7 @@ await Context.Tracing.StartAsync(new() } [TestCleanup] - public async Task TestCleanup() + public async Task TestCleanupAsync() { var failed = new[] { UnitTestOutcome.Failed, UnitTestOutcome.Error, UnitTestOutcome.Timeout, UnitTestOutcome.Aborted }.Contains(TestContext.CurrentTestOutcome); @@ -35,7 +35,7 @@ await Context.Tracing.StopAsync(new() } [TestMethod] - public async Task HasTitle() + public async Task HasTitleAsync() { await Page.GotoAsync("http://localhost:5132/"); await Expect(Page).ToHaveTitleAsync("AudioCuesheetEditor"); @@ -43,7 +43,7 @@ public async Task HasTitle() } [TestMethod] - public async Task CheckSettings() + public async Task CheckSettingsAsync() { await Page.GotoAsync("http://localhost:5132/"); await Page.GetByRole(AriaRole.Toolbar).GetByRole(AriaRole.Button).Filter(new() { HasTextRegex = new Regex("^$") }).Nth(3).ClickAsync(); @@ -52,7 +52,7 @@ public async Task CheckSettings() } [TestMethod] - public async Task Record() + public async Task RecordAsync() { await Page.GotoAsync("http://localhost:5132/"); await Page.GetByText("Record view").ClickAsync(); @@ -76,7 +76,7 @@ public async Task Record() } [TestMethod] - public async Task Import() + public async Task ImportAsync() { await Page.GotoAsync("http://localhost:5132/"); await Page.GetByText("Import view").ClickAsync(); @@ -88,5 +88,18 @@ public async Task Import() await Page.GetByRole(AriaRole.Textbox, new() { Name = "Cuesheet title" }).ClickAsync(); await Expect(Page.GetByRole(AriaRole.Group).Filter(new() { HasText = "AudiofileAudiofile Search" }).Locator("input[type=\"file\"]")).ToBeEmptyAsync(); } + + [TestMethod] + public async Task ChangeLanguageAsync() + { + await Page.GotoAsync("http://localhost:5132/"); + await Page.GetByRole(AriaRole.Button, new() { Name = "Change language" }).ClickAsync(); + await Page.GetByText("German (Germany)").ClickAsync(); + await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = "Abschnitte" })).ToBeVisibleAsync(); + await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = "Allgemeine Informationen" })).ToBeVisibleAsync(); + await Expect(Page.GetByText("Aufnahmeansicht")).ToBeVisibleAsync(); + await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = "Titel" })).ToBeVisibleAsync(); + await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = "Wiedergabe" })).ToBeVisibleAsync(); + } } } diff --git a/AudioCuesheetEditor/Program.cs b/AudioCuesheetEditor/Program.cs index a936db92..0609b18b 100644 --- a/AudioCuesheetEditor/Program.cs +++ b/AudioCuesheetEditor/Program.cs @@ -26,6 +26,8 @@ using Microsoft.AspNetCore.Components.Web; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using MudBlazor.Services; +using System.Globalization; +using System.Reflection; using Toolbelt.Blazor.Extensions.DependencyInjection; var builder = WebAssemblyHostBuilder.CreateDefault(args); @@ -64,6 +66,27 @@ builder.Services.AddHotKeys2(); +// TODO: Remove this when https://github.com/dotnet/aspnetcore/issues/56824 is fixed + +// Get current localization culture +var currentCulture = CultureInfo.DefaultThreadCurrentCulture; + +// Get WASM culture provider via reflection +var type = Assembly.GetAssembly(typeof(WebAssemblyHost))!.GetType("Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyCultureProvider"); +var instance = type + !.GetProperty("Instance", BindingFlags.Public | BindingFlags.Static) + ?.GetValue(null); + +// Swap out the "current culture" for the UI (localization) culture +CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("de-DE"); +// Load the satellite assemblies +await (ValueTask)instance! + .GetType() + .GetMethod("LoadCurrentCultureResourcesAsync", BindingFlags.Public | BindingFlags.Instance)! + .Invoke(instance, [])!; +// Swap the culture back +CultureInfo.DefaultThreadCurrentCulture = currentCulture; + var host = builder.Build(); await host.SetCultureFromConfigurationAsync(); diff --git a/AudioCuesheetEditor/Services/UI/LocalizationService.cs b/AudioCuesheetEditor/Services/UI/LocalizationService.cs index 3fa80cfc..7dfed163 100644 --- a/AudioCuesheetEditor/Services/UI/LocalizationService.cs +++ b/AudioCuesheetEditor/Services/UI/LocalizationService.cs @@ -40,7 +40,7 @@ public static IReadOnlyCollection AvailableCultures public event EventHandler? LocalizationChanged; - public CultureInfo SelectedCulture { get; private set; } = CultureInfo.DefaultThreadCurrentUICulture ?? CultureInfo.CurrentUICulture; + public CultureInfo SelectedCulture => CultureInfo.DefaultThreadCurrentUICulture ?? CultureInfo.CurrentUICulture; public async Task SetCultureFromConfigurationAsync() { @@ -58,14 +58,13 @@ public async Task ChangeLanguageAsync(string name) } } - private Boolean ChangeLanguage(string name) + private static Boolean ChangeLanguage(string name) { var newCulture = AvailableCultures.SingleOrDefault(c => c.Name == name); if (newCulture != null) { - SelectedCulture = newCulture; - CultureInfo.DefaultThreadCurrentUICulture = SelectedCulture; - CultureInfo.CurrentUICulture = SelectedCulture; + CultureInfo.DefaultThreadCurrentUICulture = newCulture; + CultureInfo.CurrentUICulture = newCulture; } return newCulture != null; } diff --git a/AudioCuesheetEditor/wwwroot/images/CreateCuesheet1_de.png b/AudioCuesheetEditor/wwwroot/images/CreateCuesheet1_de.png deleted file mode 100644 index e0021a6d..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/CreateCuesheet1_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/CreateCuesheet1_en.png b/AudioCuesheetEditor/wwwroot/images/CreateCuesheet1_en.png deleted file mode 100644 index efd48c6a..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/CreateCuesheet1_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/CreateCuesheet2_de.png b/AudioCuesheetEditor/wwwroot/images/CreateCuesheet2_de.png deleted file mode 100644 index cf0eec95..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/CreateCuesheet2_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/CreateCuesheet2_en.png b/AudioCuesheetEditor/wwwroot/images/CreateCuesheet2_en.png deleted file mode 100644 index 5926ad5d..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/CreateCuesheet2_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/CreateCuesheet3_de.png b/AudioCuesheetEditor/wwwroot/images/CreateCuesheet3_de.png deleted file mode 100644 index 29a7a7b8..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/CreateCuesheet3_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/CreateCuesheet3_en.png b/AudioCuesheetEditor/wwwroot/images/CreateCuesheet3_en.png deleted file mode 100644 index d06ae241..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/CreateCuesheet3_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/Export1_de.png b/AudioCuesheetEditor/wwwroot/images/Export1_de.png deleted file mode 100644 index 216adf7c..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/Export1_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/Export1_en.png b/AudioCuesheetEditor/wwwroot/images/Export1_en.png deleted file mode 100644 index ba8cec03..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/Export1_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/Export2_de.png b/AudioCuesheetEditor/wwwroot/images/Export2_de.png deleted file mode 100644 index 5264709f..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/Export2_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/Export2_en.png b/AudioCuesheetEditor/wwwroot/images/Export2_en.png deleted file mode 100644 index 7cd8d297..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/Export2_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/Export3_de.png b/AudioCuesheetEditor/wwwroot/images/Export3_de.png deleted file mode 100644 index 4161f524..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/Export3_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/Export3_en.png b/AudioCuesheetEditor/wwwroot/images/Export3_en.png deleted file mode 100644 index 3ca653c0..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/Export3_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportCuesheet1_de.png b/AudioCuesheetEditor/wwwroot/images/ImportCuesheet1_de.png deleted file mode 100644 index dacd4173..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportCuesheet1_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportCuesheet1_en.png b/AudioCuesheetEditor/wwwroot/images/ImportCuesheet1_en.png deleted file mode 100644 index b16b4f52..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportCuesheet1_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportCuesheet2_de.png b/AudioCuesheetEditor/wwwroot/images/ImportCuesheet2_de.png deleted file mode 100644 index e1250406..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportCuesheet2_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportCuesheet2_en.png b/AudioCuesheetEditor/wwwroot/images/ImportCuesheet2_en.png deleted file mode 100644 index 7433ce38..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportCuesheet2_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportCuesheet3_de.png b/AudioCuesheetEditor/wwwroot/images/ImportCuesheet3_de.png deleted file mode 100644 index 906156f8..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportCuesheet3_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportCuesheet3_en.png b/AudioCuesheetEditor/wwwroot/images/ImportCuesheet3_en.png deleted file mode 100644 index 9a096496..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportCuesheet3_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile1_de.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile1_de.png deleted file mode 100644 index d78160e9..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile1_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile1_en.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile1_en.png deleted file mode 100644 index 910350e9..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile1_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile2_de.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile2_de.png deleted file mode 100644 index 288c30e6..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile2_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile2_en.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile2_en.png deleted file mode 100644 index 1a036753..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile2_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile3_de.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile3_de.png deleted file mode 100644 index edc556e6..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile3_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile3_en.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile3_en.png deleted file mode 100644 index 905b2e23..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile3_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile4_de.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile4_de.png deleted file mode 100644 index f4e8aed6..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile4_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile4_en.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile4_en.png deleted file mode 100644 index f1a6afb2..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile4_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile5_de.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile5_de.png deleted file mode 100644 index 3a092613..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile5_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile5_en.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile5_en.png deleted file mode 100644 index b77877eb..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile5_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile8_de.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile8_de.png deleted file mode 100644 index 84a384b9..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile8_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile8_en.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile8_en.png deleted file mode 100644 index d68464c7..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile8_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile9_de.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile9_de.png deleted file mode 100644 index 506c549d..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile9_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/ImportTextfile9_en.png b/AudioCuesheetEditor/wwwroot/images/ImportTextfile9_en.png deleted file mode 100644 index e2a3aadb..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/ImportTextfile9_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/Options1_de.png b/AudioCuesheetEditor/wwwroot/images/Options1_de.png deleted file mode 100644 index 8d745c11..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/Options1_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/Options1_en.png b/AudioCuesheetEditor/wwwroot/images/Options1_en.png deleted file mode 100644 index 0e8b1e5e..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/Options1_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/RecordMode1_de.png b/AudioCuesheetEditor/wwwroot/images/RecordMode1_de.png deleted file mode 100644 index 1dccd951..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/RecordMode1_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/RecordMode1_en.png b/AudioCuesheetEditor/wwwroot/images/RecordMode1_en.png deleted file mode 100644 index 1b556fcb..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/RecordMode1_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/RecordMode2.png b/AudioCuesheetEditor/wwwroot/images/RecordMode2.png deleted file mode 100644 index a4e2c84c..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/RecordMode2.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/RecordMode3_de.png b/AudioCuesheetEditor/wwwroot/images/RecordMode3_de.png deleted file mode 100644 index 1a196f19..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/RecordMode3_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/RecordMode3_en.png b/AudioCuesheetEditor/wwwroot/images/RecordMode3_en.png deleted file mode 100644 index b1cb8f79..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/RecordMode3_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/RecordMode4_de.png b/AudioCuesheetEditor/wwwroot/images/RecordMode4_de.png deleted file mode 100644 index e271aee3..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/RecordMode4_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/RecordMode4_en.png b/AudioCuesheetEditor/wwwroot/images/RecordMode4_en.png deleted file mode 100644 index c59ff70f..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/RecordMode4_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/RecordMode5_de.png b/AudioCuesheetEditor/wwwroot/images/RecordMode5_de.png deleted file mode 100644 index e8bec668..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/RecordMode5_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/RecordMode5_en.png b/AudioCuesheetEditor/wwwroot/images/RecordMode5_en.png deleted file mode 100644 index 43eb7ddd..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/RecordMode5_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/SampleInputfile1.png b/AudioCuesheetEditor/wwwroot/images/SampleInputfile1.png deleted file mode 100644 index 345bae95..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/SampleInputfile1.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/SampleInputfile2.png b/AudioCuesheetEditor/wwwroot/images/SampleInputfile2.png deleted file mode 100644 index cdc1ffc1..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/SampleInputfile2.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/Sections1_de.png b/AudioCuesheetEditor/wwwroot/images/Sections1_de.png deleted file mode 100644 index e0e59b0f..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/Sections1_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/Sections1_en.png b/AudioCuesheetEditor/wwwroot/images/Sections1_en.png deleted file mode 100644 index 71b3569a..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/Sections1_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/TrackLinking1_de.png b/AudioCuesheetEditor/wwwroot/images/TrackLinking1_de.png deleted file mode 100644 index 99042c03..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/TrackLinking1_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/TrackLinking1_en.png b/AudioCuesheetEditor/wwwroot/images/TrackLinking1_en.png deleted file mode 100644 index 72b57917..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/TrackLinking1_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/UserInterface_BulkEdit1_de.png b/AudioCuesheetEditor/wwwroot/images/UserInterface_BulkEdit1_de.png deleted file mode 100644 index f6296644..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/UserInterface_BulkEdit1_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/UserInterface_BulkEdit1_en.png b/AudioCuesheetEditor/wwwroot/images/UserInterface_BulkEdit1_en.png deleted file mode 100644 index 2d21354a..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/UserInterface_BulkEdit1_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/UserInterface_BulkEdit2_de.png b/AudioCuesheetEditor/wwwroot/images/UserInterface_BulkEdit2_de.png deleted file mode 100644 index 554e9a4f..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/UserInterface_BulkEdit2_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz1_de.png b/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz1_de.png deleted file mode 100644 index 7285ce53..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz1_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz1_en.png b/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz1_en.png deleted file mode 100644 index b4e6f8b0..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz1_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz2_de.png b/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz2_de.png deleted file mode 100644 index 168da5f8..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz2_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz2_en.png b/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz2_en.png deleted file mode 100644 index 1c6f2122..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz2_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz3_de.png b/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz3_de.png deleted file mode 100644 index 0172c32a..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz3_de.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz3_en.png b/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz3_en.png deleted file mode 100644 index 78099fc1..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/UserInterface_MusicBrainz3_en.png and /dev/null differ diff --git a/AudioCuesheetEditor/wwwroot/images/userInterface_BulkEdit2_en.png b/AudioCuesheetEditor/wwwroot/images/userInterface_BulkEdit2_en.png deleted file mode 100644 index c81ff056..00000000 Binary files a/AudioCuesheetEditor/wwwroot/images/userInterface_BulkEdit2_en.png and /dev/null differ diff --git a/Readme.md b/Readme.md index 9db32c05..23511888 100644 --- a/Readme.md +++ b/Readme.md @@ -17,10 +17,14 @@ Simply open the link https://audiocuesheeteditor.netlify.app/ on any browser ### Production +[![Build & Deploy](https://github.com/NeoCoderMatrix86/AudioCuesheetEditor/actions/workflows/build_pipeline.yml/badge.svg?branch=master)](https://github.com/NeoCoderMatrix86/AudioCuesheetEditor/actions/workflows/build_pipeline.yml) + The current stable version can be found here: https://audiocuesheeteditor.netlify.app/ ### Preview +[![Build & Deploy](https://github.com/NeoCoderMatrix86/AudioCuesheetEditor/actions/workflows/build_pipeline.yml/badge.svg?branch=development)](https://github.com/NeoCoderMatrix86/AudioCuesheetEditor/actions/workflows/build_pipeline.yml) + The next release candidate version can be found here: https://preview-audiocuesheeteditor.netlify.app/ ## Contributing diff --git a/netlify/build.sh b/netlify/build.sh deleted file mode 100644 index d109be58..00000000 --- a/netlify/build.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -set -e - -## install latest .NET 9.0 release -pushd /tmp -wget https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh -chmod u+x /tmp/dotnet-install.sh -/tmp/dotnet-install.sh --channel 9.0 -popd - -## Install wasm-tools -dotnet workload install wasm-tools - -## Run Unit Test -dotnet test - -## publish project to known location for subsequent deployment by Netlify -dotnet publish -c Release -o release \ No newline at end of file