Skip to content

Commit 982e6cd

Browse files
authored
repo sync
2 parents 473199b + 04f0eb7 commit 982e6cd

File tree

285 files changed

+2743
-2831
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

285 files changed

+2743
-2831
lines changed

script/archive-enterprise-version.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async function main () {
9797
console.log(`Enterprise version to archive: ${version}`)
9898
const pages = await (require('../lib/pages')())
9999
const permalinksPerVersion = Object.keys(pages)
100-
.filter(key => key.includes(`/enterprise/${version}`))
100+
.filter(key => key.includes(`/enterprise-server@${version}`))
101101

102102
const urls = dryRun
103103
? permalinksPerVersion.slice(0, 10).map(href => `${host}${href}`)
@@ -162,10 +162,12 @@ async function createRedirectPages (permalinks, pages, finalDirectory) {
162162
const redirects = await loadRedirects(pagesPerVersion)
163163

164164
Object.entries(redirects).forEach(([oldPath, newPath]) => {
165-
// replace any liquid variables with the version number
166-
oldPath = oldPath.replace('{{ page.version }}', version)
165+
// remove any liquid variables that sneak in
166+
oldPath = oldPath
167+
.replace('/{{ page.version }}', '')
168+
.replace('/{{ currentVersion }}', '')
167169
// ignore any old paths that are not in this version
168-
if (!oldPath.includes(`/enterprise/${version}`)) return
170+
if (!(oldPath.includes(`/enterprise-server@${version}`) || oldPath.includes(`/enterprise/${version}`))) return
169171

170172
const fullPath = path.join(finalDirectory, oldPath)
171173
const filename = `${fullPath}/index.html`

translations/pt-BR/content/actions/guides/building-and-testing-java-with-ant.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Criar e testar o Java com o Ant
2+
title: Criar e estar o Java com o Ant
33
intro: Você pode criar um fluxo de trabalho de integração contínua (CI) no GitHub Actions para criar e testar o seu projeto Java com o Ant.
44
product: '{% data reusables.gated-features.actions %}'
55
redirect_from:
@@ -38,22 +38,22 @@ Você também pode adicionar este fluxo de trabalho manualmente, criando um novo
3838

3939
{% raw %}
4040
```yaml
41-
name: Java CI
41+
nome: Java CI
4242

43-
on: [push]
43+
em: [push]
4444

45-
jobs:
45+
trabalho:
4646
build:
4747
runs-on: ubuntu-latest
4848

49-
steps:
50-
- uses: actions/checkout@v2
51-
- name: Set up JDK 1.8
52-
uses: actions/setup-java@v1
53-
with:
54-
java-version: 1.8
55-
- name: Build with Ant
56-
run: ant -noinput -buildfile build.xml
49+
etapa:
50+
- usa: actions/checkout@v2
51+
- nome: Configure JDK 1.
52+
uso: actionp-java@v1
53+
com:
54+
java-version: 1.
55+
- nome: Construir com Ant
56+
executar: ant -noinput -buildfile build.xml
5757
```
5858
{% endraw %}
5959
@@ -79,13 +79,13 @@ Se você usa comandos diferentes para criar seu projeto ou se você quer executa
7979

8080
{% raw %}
8181
```yaml
82-
steps:
83-
- uses: actions/checkout@v2
84-
- uses: actions/setup-java@v1
85-
with:
82+
etapas:
83+
- usa: actions/checkout@v2
84+
- usa: actions/setup-java@v1
85+
com:
8686
java-version: 1.8
87-
- name: Run the Ant jar target
88-
run: ant -noinput -buildfile build-ci.xml jar
87+
- nome: Executa o alvo do Ant jar
88+
executa: ant -noinput -buildfile build-ci.xml jar
8989
```
9090
{% endraw %}
9191

translations/pt-BR/content/actions/guides/building-and-testing-java-with-gradle.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Criar e testar o Java com o Gradle
2+
title: Criar e estar o Java com o Gradle
33
intro: Você pode criar um fluxo de trabalho de integração contínua (CI) no GitHub Actions para criar e testar o seu projeto Java com o Gradle.
44
product: '{% data reusables.gated-features.actions %}'
55
redirect_from:
@@ -38,22 +38,22 @@ Você também pode adicionar este fluxo de trabalho manualmente, criando um novo
3838

3939
{% raw %}
4040
```yaml
41-
name: Java CI
41+
nome: Java CI
4242

43-
on: [push]
43+
em: [push]
4444

45-
jobs:
46-
build:
45+
trabalhos:
46+
criar:
4747
runs-on: ubuntu-latest
4848

49-
steps:
50-
- uses: actions/checkout@v2
51-
- name: Set up JDK 1.8
52-
uses: actions/setup-java@v1
53-
with:
49+
etapas:
50+
- usa: actions/checkout@v2
51+
- nome: Set up JDK 1.8
52+
usa: actions/setup-java@v1
53+
com:
5454
java-version: 1.8
55-
- name: Build with Gradle
56-
run: ./gradlew build
55+
- nome: Criar com Gradle
56+
executar: ./gradlew build
5757
```
5858
{% endraw %}
5959
@@ -79,13 +79,13 @@ Se você usa comandos diferentes para criar seu projeto ou se você desejar usar
7979

8080
{% raw %}
8181
```yaml
82-
steps:
83-
- uses: actions/checkout@v2
84-
- uses: actions/setup-java@v1
85-
with:
82+
etapas:
83+
- usa: actions/checkout@v2
84+
- ususaes: actions/setup-java@v1
85+
com:
8686
java-version: 1.8
87-
- name: Run the Gradle package task
88-
run: ./gradlew -b ci.gradle package
87+
- Nome: Executa a tarefa do pacote do Gradle
88+
executar: ./gradlew -b ci.gradle package
8989
```
9090
{% endraw %}
9191

@@ -95,20 +95,20 @@ Você pode armazenar as suas dependências para acelerar as execuções do seu f
9595

9696
{% raw %}
9797
```yaml
98-
steps:
99-
- uses: actions/checkout@v2
100-
- name: Set up JDK 1.8
101-
uses: actions/setup-java@v1
102-
with:
98+
etapas:
99+
- usa: actions/checkout@v2
100+
- nome: Set up JDK 1.8
101+
usa: actions/setup-java@v1
102+
com:
103103
java-version: 1.8
104-
- name: Cache Gradle packages
105-
uses: actions/cache@v2
106-
with:
107-
path: ~/.gradle/caches
108-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
104+
- nome: Cache Gradle packages
105+
usa: actions/cache@v2
106+
com:
107+
caminho: ~/.gradle/caches
108+
Chave: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
109109
restore-keys: ${{ runner.os }}-gradle
110-
- name: Build with Gradle
111-
run: ./gradlew build
110+
- Nome: Criar com Gradle
111+
executar: ./gradlew build
112112
```
113113
{% endraw %}
114114

translations/pt-BR/content/actions/guides/building-and-testing-java-with-maven.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Criar e testar o Java com o Maven
2+
title: Criar e estar o Java com o Maven
33
intro: Você pode criar um fluxo de trabalho de integração contínua (CI) no GitHub Actions para criar e testar o seu projeto Java com o Maven.
44
product: '{% data reusables.gated-features.actions %}'
55
redirect_from:
@@ -38,22 +38,22 @@ Você também pode adicionar este fluxo de trabalho manualmente, criando um novo
3838

3939
{% raw %}
4040
```yaml
41-
name: Java CI
41+
nome: Java CI
4242

43-
on: [push]
43+
em: [push]
4444

45-
jobs:
46-
build:
45+
trabalhos:
46+
criar:
4747
runs-on: ubuntu-latest
4848

49-
steps:
50-
- uses: actions/checkout@v2
51-
- name: Set up JDK 1.8
52-
uses: actions/setup-java@v1
53-
with:
49+
etapas:
50+
- usa: actions/checkout@v2
51+
- nome: Set up JDK 1.8
52+
usa: actions/setup-java@v1
53+
com:
5454
java-version: 1.8
55-
- name: Build with Maven
56-
run: mvn -B package --file pom.xml
55+
- nome: Criado com Maven
56+
executar: mvn -B package --file pom.xml
5757
```
5858
{% endraw %}
5959
@@ -79,13 +79,13 @@ Se você usa comandos diferentes para criar seu projeto ou se desejar usar um al
7979

8080
{% raw %}
8181
```yaml
82-
steps:
83-
- uses: actions/checkout@v2
84-
- uses: actions/setup-java@v1
85-
with:
82+
etapas:
83+
- usa: actions/checkout@v2
84+
- usa: actions/setup-java@v1
85+
com:
8686
java-version: 1.8
87-
- name: Run the Maven verify phase
88-
run: mvn -B verify --file pom-ci.xml
87+
- nome: Executar a fase de verificação do Maven
88+
executar: mvn -B verify --file pom-ci.xml
8989
```
9090
{% endraw %}
9191

@@ -95,20 +95,20 @@ Você pode armazenar as suas dependências para acelerar as execuções do seu f
9595

9696
{% raw %}
9797
```yaml
98-
steps:
99-
- uses: actions/checkout@v2
100-
- name: Set up JDK 1.8
101-
uses: actions/setup-java@v1
102-
with:
98+
etapas:
99+
- usa: actions/checkout@v2
100+
- nome: Set up JDK 1.8
101+
usa: actions/setup-java@v1
102+
cpm:
103103
java-version: 1.8
104-
- name: Cache Maven packages
105-
uses: actions/cache@v2
106-
with:
107-
path: ~/.m2
108-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
104+
- nome: Cache Maven packages
105+
usa: actions/cache@v2
106+
com:
107+
caminho: ~/.m2
108+
chave: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
109109
restore-keys: ${{ runner.os }}-m2
110-
- name: Build with Maven
111-
run: mvn -B package --file pom.xml
110+
- nome: Construir com Maven
111+
executar: mvn -B package --file pom.xml
112112
```
113113
{% endraw %}
114114

translations/pt-BR/content/actions/guides/building-and-testing-nodejs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ steps:
9191
Como alternativa, você pode criar e fazes testes com versões exatas do Node.js.
9292
9393
```yaml
94-
strategy:
95-
matrix:
94+
estratégia:
95+
matriz:
9696
node-version: [8.16.2, 10.17.0]
9797
```
9898

0 commit comments

Comments
 (0)