More naming fixes #287
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: MSBuild (Push) | |
| on: | |
| push | |
| env: | |
| REPODB_MYSQL_CONSTR_SYS: "Server=127.0.0.1;Port=43306;Database=sys;User ID=root;Password=ddd53e85-b15e-4da8-91e5-a7d3b00a0ab2;" | |
| REPODB_ORACLE_CONSTR_MASTER: "Data Source=127.0.0.1:41521/FREEPDB1;User Id=system;Password=oracle;" | |
| REPODB_POSTGRESQL_CONSTR_POSTGRESDB: "Server=127.0.0.1;Port=45432;Database=postgres;User Id=postgres;Password=ddd53e85-b15e-4da8-91e5-a7d3b00a0ab2;" | |
| REPODB_SQLSERVER_CONSTR_MASTER: "Server=tcp:127.0.0.1,41433;Database=master;User ID=sa;Password=ddd53e85-b15e-4da8-91e5-a7d3b00a0ab2;TrustServerCertificate=True;" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| # Services. See docker-compose.yml | |
| services: | |
| mysql: | |
| image: mysql:latest | |
| ports: | |
| - 127.0.0.1:43306:3306 | |
| env: | |
| MYSQL_ROOT_PASSWORD: ddd53e85-b15e-4da8-91e5-a7d3b00a0ab2 | |
| oracle: | |
| image: gvenzl/oracle-free:23-faststart | |
| ports: | |
| - 127.0.0.1:41521:1521 | |
| - 127.0.0.1:45500:5500 | |
| env: | |
| ORACLE_PASSWORD: "oracle" | |
| ORACLE_ALLOW_REMOTE: "true" | |
| postgresql: | |
| image: postgres:latest | |
| ports: | |
| - 127.0.0.1:45432:5432 | |
| env: | |
| POSTGRES_PASSWORD: ddd53e85-b15e-4da8-91e5-a7d3b00a0ab2 | |
| sqlserver: | |
| image: mcr.microsoft.com/mssql/server:2022-latest | |
| ports: | |
| - 127.0.0.1:41433:1433 | |
| env: | |
| ACCEPT_EULA: true | |
| MSSQL_SA_PASSWORD: ddd53e85-b15e-4da8-91e5-a7d3b00a0ab2 | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET Versions | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| 10.0.x | |
| dotnet-quality: preview | |
| - name: build | |
| run: dotnet build -c Release | |
| - name: test for .Net 8.0 | |
| run: dotnet test -c Release -f net8.0 --no-build -p:TestingPlatformShowTestsFailure=true -p:TestingPlatformCaptureOutput=false | |
| - name: Set version variables | |
| id: version | |
| run: | | |
| DATE=$(date +'%y%m.%d') | |
| BUILD_NUM=$(printf "%03d" $(( ${{ github.run_number }} % 1000 ))) | |
| echo "version=1.14.${DATE}${BUILD_NUM}" >> $GITHUB_OUTPUT | |
| - name: Pack packages | |
| run: dotnet pack -c Release -p:Version="${{ steps.version.outputs.version }}" -p:PackagePrefix=AmpScm. -o release | |
| - name: Package nupkg files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: release | |
| path: release/*nupkg |