diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 85ff290..64752b5 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -19,13 +19,15 @@ jobs: - name: Install dependencies run: dotnet restore - name: Build - run: dotnet build --configuration Release --no-restore -o ./artifacts -r linux-arm + run: dotnet build --configuration Release --no-restore + - name: Test + run: dotnet test --no-restore --verbosity normal + - name: Publish + run: dotnet publish --configuration Release --no-restore --output ./publish --self-contained true --runtime linux-arm -p:PublishTrimmed=true - name: Zip artifacts uses: montudor/action-zip@v0.1.0 with: - args: zip -qq -r ./release.zip ./artifacts - - name: Test - run: dotnet test --no-restore --verbosity normal + args: zip -qq -r ./release.zip ./publish - name: Create release id: create_release uses: actions/create-release@v1