feat: add French localization support for OpenSilver assembly #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: OpenSilver Build | |
| env: | |
| next-release-version: '3.3.0' | |
| current-release-version: '3.2.0' | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| OpenSilver-Build: | |
| #We should not run these steps on the forks by default. | |
| if: github.repository_owner == 'OpenSilver' | |
| runs-on: windows-latest | |
| steps: | |
| - uses: microsoft/setup-msbuild@v1.1 | |
| - name: Inject slug/short variables | |
| uses: rlespinasse/github-slug-action@v3.x | |
| - uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: '9.0.102' | |
| - name: Clone OpenSilver repo | |
| uses: actions/checkout@v2 | |
| with: | |
| ref: ${{ github.ref }} | |
| - name: Restore Packages | |
| run: ./restore-packages-opensilver.bat | |
| - name: Update compiler | |
| run: ./build/update-compiler.bat | |
| - name: Format Version Suffix | |
| id: format-suffix | |
| run: echo "suffix=$(date +'%Y-%m-%d-%H%M%S')-${{ env.GITHUB_SHA_SHORT }}" >> $env:GITHUB_OUTPUT | |
| - name: Format Package Version | |
| id: format-version | |
| run: echo "version=${{ env.next-release-version }}-preview-${{ steps.format-suffix.outputs.suffix }}" >> $env:GITHUB_OUTPUT | |
| - name: Build OpenSilver NuGet package | |
| run: ./build/build-nuget-package-OpenSilver.bat ${{ steps.format-version.outputs.version }} | |
| - name: Build OpenSilver.Simulator NuGet package | |
| run: ./build/build-nuget-package-OpenSilver.Simulator.bat ${{ steps.format-version.outputs.version }} | |
| - name: Build OpenSilver.WebAssembly NuGet package | |
| run: ./build/build-nuget-package-OpenSilver.Wasm.bat ${{ steps.format-version.outputs.version }} | |
| - name: Build OpenSilver.MauiHybrid NuGet package | |
| run: ./build/build-nuget-package-OpenSilver.MauiHybrid.bat ${{ steps.format-version.outputs.version }} | |
| - name: Build OpenSilver.Photino NuGet package | |
| run: ./build/build-nuget-package-OpenSilver.Photino.bat ${{ steps.format-version.outputs.version }} | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: OpenSilver | |
| path: "build/output/OpenSilver" | |
| - name: Upload packages | |
| run: | | |
| dotnet nuget push "build\output\OpenSilver\*.nupkg" -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/${{ env.GITHUB_REPOSITORY_OWNER_PART }}/index.json | |
| - name: Upload packages to MyGet | |
| run: | | |
| dotnet nuget push "build\output\OpenSilver\*.nupkg" -k ${{ secrets.MYGET_TOKEN }} -s https://www.myget.org/F/opensilver/api/v2/package |