Skip to content

Commit fcc48be

Browse files
authored
Translation batch 1623365515 (github#19847)
1 parent ab0d5e0 commit fcc48be

File tree

9,248 files changed

+265889
-16466
lines changed

Some content is hidden

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

9,248 files changed

+265889
-16466
lines changed

translations/de-DE/content/actions/creating-actions/creating-a-composite-run-steps-action.md

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ In this guide, you'll learn about the basic components needed to create and use
2121

2222
Once you complete this project, you should understand how to build your own composite run steps action and test it in a workflow.
2323

24+
{% data reusables.github-actions.context-injection-warning %}
25+
2426
### Vorrausetzungen
2527

2628
Before you begin, you'll create a {% data variables.product.product_name %} repository.

translations/de-DE/content/actions/creating-actions/creating-a-docker-container-action.md

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Nach dem Abschluss dieses Projekts wirst Du verstehen, wie Du Deine eigene Docke
2929

3030
{% data reusables.github-actions.self-hosted-runner-reqs-docker %}
3131

32+
{% data reusables.github-actions.context-injection-warning %}
33+
3234
### Vorrausetzungen
3335

3436
Es wir Dir vielleicht helfen, {% data variables.product.prodname_actions %} Umgebungsvariablen und das Docker-Container-Dateisystem grundlegend zu verstehen:

translations/de-DE/content/actions/creating-actions/creating-a-javascript-action.md

+17-14
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,17 @@ Nach dem Abschluss dieses Projekts solltest Du verstehen, wie Du Deine eigene Ja
3131

3232
{% data reusables.github-actions.pure-javascript %}
3333

34+
{% data reusables.github-actions.context-injection-warning %}
35+
3436
### Vorrausetzungen
3537

36-
Als Erstes musst Du die Anwendung Node.js herunterladen und ein GitHub-Repository erstellen.
38+
Before you begin, you'll need to download Node.js and create a public {% data variables.product.prodname_dotcom %} repository.
3739

3840
1. Lade die Anwendung Node.js 12.x, welche npm enthält, herunter, und installiere sie.
3941

4042
https://nodejs.org/de/download/current/
4143

42-
1. Erstellen Sie ein neues Repository auf {% data variables.product.product_location %}. Du kannst einen beliebigen Repository-Namen auswählen oder wie in diesem Beispiel „hello-world-javascript-action“ verwenden. Du kannst diese Dateien hinzufügen, nachdem Dein Projekt per Push an {% data variables.product.product_name %} übergeben wurde. Weitere Informationen finden Sie unter „[Neues Repository erstellen](/articles/creating-a-new-repository)“.
44+
1. Create a new public repository on {% data variables.product.product_location %} and call it "hello-world-javascript-action". Weitere Informationen finden Sie unter „[Neues Repository erstellen](/articles/creating-a-new-repository)“.
4345

4446
1. Clone Dein Repository auf Deinen Computer. Weitere Informationen findest Du unter „[Ein Repository clonen](/articles/cloning-a-repository)“.
4547

@@ -49,18 +51,16 @@ Als Erstes musst Du die Anwendung Node.js herunterladen und ein GitHub-Repositor
4951
cd hello-world-javascript-action
5052
```
5153

52-
1. Initialisiere in Deinem Terminal das Verzeichnis mit der Datei `package.json`.
54+
1. From your terminal, initialize the directory with npm to generate a `package.json` file.
5355

5456
```shell
5557
npm init -y
5658
```
5759

5860
### Eine Datei für die Metadaten der Aktion erstellen
5961

60-
Erstellen Sie eine neue Datei `action.yml` im Verzeichnis `hello-world-javascript-action` mit dem folgenden Beispielcode: Weitere Informationen findest Du unter „[Metadaten-Syntax für {% data variables.product.prodname_actions %}](/actions/creating-actions/metadata-syntax-for-github-actions)“.
61-
62+
Create a new file named `action.yml` in the `hello-world-javascript-action` directory with the following example code. Weitere Informationen findest Du unter „[Metadaten-Syntax für {% data variables.product.prodname_actions %}](/actions/creating-actions/metadata-syntax-for-github-actions)“.
6263

63-
**action.yml**
6464
```yaml
6565
name: 'Hello World'
6666
description: 'Greet someone and record the time'
@@ -106,7 +106,7 @@ GitHub Actions stellt Kontextinformationen zum Webhook-Ereignis, zu den Git-Refs
106106

107107
Füge eine neue Datei mit der Bezeichnung `index.js` mit dem folgenden Code hinzu.
108108

109-
**index.js**
109+
{% raw %}
110110
```javascript
111111
const core = require('@actions/core');
112112
const github = require('@actions/github');
@@ -124,6 +124,7 @@ try {
124124
core.setFailed(error.message);
125125
}
126126
```
127+
{% endraw %}
127128

128129
Wenn im o. g. `index.js`-Beispiel ein Fehler ausgegeben wird, nutzt `core.setFailed(error.message);` das Aktions-Toolkit-Paket [`@actions/core`](https://github.com/actions/toolkit/tree/main/packages/core), um eine Meldung zu protokollieren und einen Fehler-Exit-Code festzulegen. Weitere Informationen findest Du unter "[Exit Codes für Aktionen setzen](/actions/creating-actions/setting-exit-codes-for-actions)."
129130

@@ -141,7 +142,6 @@ Erstelle in Deinem Verzeichnis `hello-world-javascript-action` eine Datei `READM
141142
- Umgebungsvariablen, die in der Aktion benutzt werden.
142143
- Ein Beispiel für die Verwendung Deiner Aktion in einem Workflow.
143144

144-
**README.md**
145145
```markdown
146146
# JavaScript-Aktion „Hello world“
147147

@@ -177,8 +177,8 @@ Es hat sich bewährt, auch ein Versions-Tag für Releases Deiner Aktion hinzuzuf
177177

178178
```shell
179179
git add action.yml index.js node_modules/* package.json package-lock.json README.md
180-
git commit -m "Meine erste Aktion ist fertig"
181-
git tag -a -m "Mein erstes Aktions-Release" v1
180+
git commit -m "My first action is ready"
181+
git tag -a -m "My first action release" v1.1
182182
git push --follow-tags
183183
```
184184

@@ -198,7 +198,7 @@ Checking in your `node_modules` directory can cause problems. As an alternative,
198198
```shell
199199
git add action.yml dist/index.js node_modules/*
200200
git commit -m "Use vercel/ncc"
201-
git tag -a -m "My first action release" v1
201+
git tag -a -m "My first action release" v1.1
202202
git push --follow-tags
203203
```
204204

@@ -210,10 +210,11 @@ Nun sind Sie bereit, Ihre Aktion in einem Workflow zu testen. Wenn eine Aktion i
210210

211211
#### Beispiel mit einer öffentlichen Aktion
212212

213-
Der folgende Workflow-Code verwendet die vervollständigte Aktion „hello world“ im Repository `actions/hello-world-javascript-action`. Kopieren Sie den Workflow-Code in die Datei `.github/workflows/main.yml`. Ersetzen Sie jedoch das Repository `actions/hello-world-javascript-action` durch das von Ihnen erstellte Repository. Darüber hinaus können Sie die Eingabe `who-to-greet` durch Ihren Namen ersetzen.
213+
This example demonstrates how your new public action can be run from within an external repository.
214+
215+
Copy the following YAML into a new file at `.github/workflows/main.yml`, and update the `uses: octocat/[email protected]` line with your username and the name of the public repository you created above. Darüber hinaus können Sie die Eingabe `who-to-greet` durch Ihren Namen ersetzen.
214216

215217
{% raw %}
216-
**.github/workflows/main.yml**
217218
```yaml
218219
on: [push]
219220

@@ -224,7 +225,7 @@ jobs:
224225
steps:
225226
- name: Hello world action step
226227
id: hello
227-
uses: actions/[email protected]
228+
uses: octocat/[email protected]
228229
with:
229230
who-to-greet: 'Mona the Octocat'
230231
# Use the output from the `hello` step
@@ -233,6 +234,8 @@ jobs:
233234
```
234235
{% endraw %}
235236
237+
When this workflow is triggered, the runner will download the `hello-world-javascript-action` action from your public repository and then execute it.
238+
236239
#### Beispiel mit einer privaten Aktion
237240

238241
Kopieren Sie den Workflow-Code im Repository Ihrer Aktion in eine `.github/workflows/main.yml`-Datei. Darüber hinaus können Sie die Eingabe `who-to-greet` durch Ihren Namen ersetzen.

translations/de-DE/content/actions/creating-actions/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ children:
2121
- /setting-exit-codes-for-actions
2222
- /publishing-actions-in-github-marketplace
2323
---
24+
2425
{% data reusables.actions.enterprise-beta %}
2526
{% data reusables.actions.enterprise-github-hosted-runners %}
2627
{% data reusables.actions.ae-beta %}

translations/de-DE/content/actions/guides/building-and-testing-xamarin-applications.md

+40-42
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ topics:
2424

2525
This guide shows you how to create a workflow that performs continuous integration (CI) for your Xamarin project. Der Workflow, den Du erstellst, zeigt Dir, wenn Commits zu einem Pull-Request zu Build- oder Testfehlern für deinen Standard-Zweig führen. Dieser Ansatz kann dazu beitragen, dass Dein Code immer brauchbar ist.
2626

27-
{% data variables.product.prodname_actions %}-hosted macOS runner stores Xamarin SDK versions and the associated Mono versions as a set of symlinks to Xamarin SDK locations that are available by a single bundle symlink. For a full list of available Xamarin SDK versions and their corresponding bundles, see the runners documentation:
27+
For a full list of available Xamarin SDK versions on the {% data variables.product.prodname_actions %}-hosted macOS runners, see the documentation:
2828

2929
* [macOS 10.15](https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xamarin-bundles)
30-
* [macOS 11.0](https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11.0-Readme.md#xamarin-bundles)
30+
* [macOS 11](https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md#xamarin-bundles)
3131

3232
{% data reusables.github-actions.macos-runner-preview %}
3333

@@ -41,7 +41,7 @@ We recommend that you have a basic understanding of Xamarin, .NET Core SDK, YAML
4141

4242
### Bulding Xamarin.iOS apps
4343

44-
The example below demonstrates how to change the default Xamarin bundle and build a Xamarin.iOS application.
44+
The example below demonstrates how to change the default Xamarin SDK versions and build a Xamarin.iOS application.
4545

4646
{% raw %}
4747
```yaml
@@ -55,34 +55,33 @@ jobs:
5555
runs-on: macos-latest
5656

5757
steps:
58-
- uses: actions/checkout@v2
59-
- name: Select default Xamarin bundle to 6_12_6
60-
run: |
61-
XAMARIN_SDK=6_12_6
62-
$VM_ASSETS/select-xamarin-sdk.sh $XAMARIN_SDK
63-
64-
- name: Set default Xcode 12.3
65-
run: |
66-
XCODE_ROOT=/Applications/Xcode_12.3.0.app
67-
echo "MD_APPLE_SDK_ROOT=$XCODE_ROOT" >> $GITHUB_ENV
68-
sudo xcode-select -s $XCODE_ROOT
69-
70-
- name: Setup .NET Core SDK 5.0.x
71-
uses: actions/setup-dotnet@v1
72-
with:
73-
dotnet-version: '5.0.x'
74-
75-
- name: Install dependencies
76-
run: nuget restore <sln_file_path>
77-
78-
- name: Build
79-
run: msbuild <csproj_file_path> /p:Configuration=Debug /p:Platform=iPhoneSimulator /t:Rebuild
58+
- uses: actions/checkout@v2
59+
- name: Set default Xamarin SDK versions
60+
run: |
61+
$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --ios=14.10
62+
63+
- name: Set default Xcode 12.3
64+
run: |
65+
XCODE_ROOT=/Applications/Xcode_12.3.0.app
66+
echo "MD_APPLE_SDK_ROOT=$XCODE_ROOT" >> $GITHUB_ENV
67+
sudo xcode-select -s $XCODE_ROOT
68+
69+
- name: Setup .NET Core SDK 5.0.x
70+
uses: actions/setup-dotnet@v1
71+
with:
72+
dotnet-version: '5.0.x'
73+
74+
- name: Install dependencies
75+
run: nuget restore <sln_file_path>
76+
77+
- name: Build
78+
run: msbuild <csproj_file_path> /p:Configuration=Debug /p:Platform=iPhoneSimulator /t:Rebuild
8079
```
8180
{% endraw %}
8281
8382
### Bulding Xamarin.Android apps
8483
85-
The example below demonstrates how to change default the Xamarin bundle and build a Xamarin.Android application.
84+
The example below demonstrates how to change default Xamarin SDK versions and build a Xamarin.Android application.
8685
8786
{% raw %}
8887
```yaml
@@ -96,22 +95,21 @@ jobs:
9695
runs-on: macos-latest
9796

9897
steps:
99-
- uses: actions/checkout@v2
100-
- name: Select default Xamarin bundle to 6_12_6
101-
run: |
102-
XAMARIN_SDK=6_12_6
103-
$VM_ASSETS/select-xamarin-sdk.sh $XAMARIN_SDK
104-
105-
- name: Setup .NET Core SDK 5.0.x
106-
uses: actions/setup-dotnet@v1
107-
with:
108-
dotnet-version: '5.0.x'
109-
110-
- name: Install dependencies
111-
run: nuget restore <sln_file_path>
112-
113-
- name: Build
114-
run: msbuild <csproj_file_path> /t:PackageForAndroid /p:Configuration=Debug
98+
- uses: actions/checkout@v2
99+
- name: Set default Xamarin SDK versions
100+
run: |
101+
$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.10 --android=10.2
102+
103+
- name: Setup .NET Core SDK 5.0.x
104+
uses: actions/setup-dotnet@v1
105+
with:
106+
dotnet-version: '5.0.x'
107+
108+
- name: Install dependencies
109+
run: nuget restore <sln_file_path>
110+
111+
- name: Build
112+
run: msbuild <csproj_file_path> /t:PackageForAndroid /p:Configuration=Debug
115113
```
116114
{% endraw %}
117115

0 commit comments

Comments
 (0)