Skip to content

Commit

Permalink
fix namings
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed May 10, 2024
1 parent d79a917 commit 434634a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ jobs:

- name: Add actions
run: |
cd swift-client
cd swift-combine-client
mkdir -p .github/workflows/
printf '%s\n' 'name: Build' 'on:' ' push:' ' branches: [ main ]' ' pull_request:' ' branches: [ main ]' 'jobs:' ' build:' ' runs-on: ubuntu-latest' ' steps:' ' - uses: actions/checkout@v4' ' - name: Set up Swift' ' uses: swift-actions/setup-swift@v2' ' - name: Build' ' run: swift build' ' - name: Test' ' run: swift test' > .github/workflows/build.yml
sed -i 's/\\"/"/g' README.md
Expand All @@ -230,7 +230,7 @@ jobs:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY_SWIFT }}
API_TOKEN_GITHUB: ${{ secrets.PUSH_GITHUB_TOKEN }}
with:
source-directory: "swift-client"
source-directory: "swift-combine-client"
destination-github-username: "dofusdude"
destination-repository-name: "dofusdude-swift"
user-email: stelzo@steado.de
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
run: |
cd dart-client
mkdir -p .github/workflows/
printf '%s\n' 'name: Build' 'on:' ' push:' ' branches: [ main ]' ' pull_request:' ' branches: [ main ]' 'jobs:' ' build:' ' runs-on: ubuntu-latest' ' steps:' ' - uses: actions/checkout@v4' ' - name: Set up Dart' ' uses: dart-lang/setup-dart@v1' ' - name: Install deps' ' run: dart pub get' ' - name: Analyze' ' run: dart analyze' ' - name: Test' ' run: dart test' > .github/workflows/build.yml
printf '%s\n' 'name: Build' 'on:' ' push:' ' branches: [ main ]' ' pull_request:' ' branches: [ main ]' 'jobs:' ' build:' ' runs-on: ubuntu-latest' ' steps:' ' - uses: actions/checkout@v4' ' - name: Set up Dart' ' uses: dart-lang/setup-dart@v1' ' - name: Install deps' ' run: dart pub get' ' - name: Test' ' run: dart test' > .github/workflows/build.yml
printf '%s\n' 'name: Publish' 'on:' ' push:' ' tags:' ' - 'v[0-9]+.[0-9]+.[0-9]+*'' 'jobs:' ' publish:' ' permissions:' ' id-token: write' ' uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1' > .github/workflows/publish.yml
sed -i 's/\\"/"/g' README.md
cd ..
Expand Down

0 comments on commit 434634a

Please sign in to comment.