diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a143f103a..15715533b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,12 +39,3 @@ jobs: - name: Run ${{ matrix.configuration }} ArchiSteamFarm.Tests run: dotnet test ArchiSteamFarm.Tests -c "${{ matrix.configuration }}" -p:ContinuousIntegrationBuild=true -p:UseAppHost=false --nologo - - - name: Upload latest strings for translation on Crowdin - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.configuration == 'Release' && startsWith(matrix.os, 'ubuntu-') }} - uses: crowdin/github-action@v1.20.4 - with: - crowdin_branch_name: main - config: '.github/crowdin.yml' - project_id: ${{ secrets.ASF_CROWDIN_PROJECT_ID }} - token: ${{ secrets.ASF_CROWDIN_API_TOKEN }} diff --git a/.github/workflows/crowdin-ci.yml b/.github/workflows/crowdin-ci.yml new file mode 100644 index 000000000..3921169ae --- /dev/null +++ b/.github/workflows/crowdin-ci.yml @@ -0,0 +1,28 @@ +name: ASF-crowdin-ci + +on: + push: + branches: + - main + +permissions: {} + +jobs: + upload: + environment: main + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4.1.6 + with: + show-progress: false + submodules: recursive + + - name: Upload latest strings for translation on Crowdin + uses: crowdin/github-action@v1.20.4 + with: + crowdin_branch_name: main + config: '.github/crowdin.yml' + project_id: ${{ secrets.ASF_CROWDIN_PROJECT_ID }} + token: ${{ secrets.ASF_CROWDIN_API_TOKEN }}