Remove pre-v1 note from README #171
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| dotnet-configuration: [Debug, Release] | |
| steps: | |
| - name: Install .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '3.1.x' | |
| - name: Install OpenSSL 1.1 | |
| run: | | |
| wget https://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb | |
| sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Adding /tmp/output | |
| run: mkdir -p /tmp/output | |
| - name: Build for ${{ matrix.dotnet-configuration }} | |
| run: dotnet build --configuration ${{ matrix.dotnet-configuration }} | |
| - name: Test for ${{ matrix.dotnet-configuration }} | |
| env: | |
| MUX_TOKEN_ID: "${{ secrets.MUX_TOKEN_ID }}" | |
| MUX_TOKEN_SECRET: "${{ secrets.MUX_TOKEN_SECRET }}" | |
| run: dotnet test --configuration ${{ matrix.dotnet-configuration }} --no-build | |
| - name: Pack for ${{ matrix.dotnet-configuration }} | |
| run: cp README.md icon.png src/Mux.Csharp.Sdk && dotnet pack --configuration ${{ matrix.dotnet-configuration }} --no-build --include-source --include-symbols --output /tmp/output | |
| - name: Uploading artifact for ${{ matrix.dotnet-configuration }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Mux.Csharp.Sdk-${{ matrix.dotnet-configuration }} | |
| path: /tmp/output/* |