Bladeren bron

oops for last commit..

Mary 5 jaren geleden
bovenliggende
commit
0b022cad1e
1 gewijzigde bestanden met toevoegingen van 3 en 4 verwijderingen
  1. 3 4
      .github/workflows/build.yml

+ 3 - 4
.github/workflows/build.yml

@@ -2,8 +2,7 @@ name: Build job
 
 
 on:
 on:
   push:
   push:
-    # branches: [ master ]
-    branches: [ ci/artifact-tuning ]
+    branches: [ master ]
     paths-ignore:
     paths-ignore:
       - '.github/*'
       - '.github/*'
       - '.github/ISSUE_TEMPLATE/**'
       - '.github/ISSUE_TEMPLATE/**'
@@ -61,10 +60,10 @@ jobs:
         run: dotnet test -c "${{ matrix.configuration }}"
         run: dotnet test -c "${{ matrix.configuration }}"
       - name: Publish
       - name: Publish
         run: dotnet publish -c "${{ matrix.configuration }}" -r "${{ matrix.DOTNET_RUNTIME_IDENTIFIER }}" -o ./publish /p:Version="1.0.0" /p:SourceRevisionId="${{ steps.git_short_hash.outputs.result }}" /p:ExtraDefineConstants=DISABLE_UPDATER Ryujinx
         run: dotnet publish -c "${{ matrix.configuration }}" -r "${{ matrix.DOTNET_RUNTIME_IDENTIFIER }}" -o ./publish /p:Version="1.0.0" /p:SourceRevisionId="${{ steps.git_short_hash.outputs.result }}" /p:ExtraDefineConstants=DISABLE_UPDATER Ryujinx
-        #if: github.event_name == 'pull_request'
+        if: github.event_name == 'pull_request'
       - name: Upload artifacts
       - name: Upload artifacts
         uses: actions/upload-artifact@v2
         uses: actions/upload-artifact@v2
         with:
         with:
           name: ryujinx-${{ matrix.configuration }}-1.0.0+${{ steps.git_short_hash.outputs.result }}-${{ matrix.RELEASE_ZIP_OS_NAME }}
           name: ryujinx-${{ matrix.configuration }}-1.0.0+${{ steps.git_short_hash.outputs.result }}-${{ matrix.RELEASE_ZIP_OS_NAME }}
           path: publish
           path: publish
-        #if: github.event_name == 'pull_request'
+        if: github.event_name == 'pull_request'