Skip to content

Commit

Permalink
ci: switch to v4 artifact actions
Browse files Browse the repository at this point in the history
v1-v3 are deprecated and will soon be gone.
  • Loading branch information
fgreinacher authored and frantuma committed Dec 13, 2024
1 parent 24892dc commit 35e6141
Show file tree
Hide file tree
Showing 232 changed files with 2,174 additions and 2,174 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test-framework-ada.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
cp modules/swagger-codegen-cli/target/swagger-codegen-cli.jar codegen-cli
fi
- name: upload codegen cli
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codegen-cli
path: codegen-cli
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
with:
java-version: ${{ matrix.java }}
- name: Download codegen cli
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: codegen-cli
- name: generate
Expand All @@ -104,18 +104,18 @@ jobs:
echo "generate_outcome=${{ steps.generate.outcome }}" >> $GITHUB_OUTPUT
echo ${{ steps.generate.outcome }} > generate_outcome_${{ env.JOB_NAME }}
- name: upload generate outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_outcome
path: generate_outcome_${{ env.JOB_NAME }}
- name: upload generate logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_logs
path: ${{ steps.generate.outputs.logs }}
- name: upload generated code
if: contains(steps.generate.outcome, 'success')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generated
path: ${{ steps.generate.outputs.path }}
Expand Down Expand Up @@ -146,12 +146,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.JOB_NAME }}generated
path: generated/${{ env.JOB_NAME }}
- name: Download logs
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_logs
###############################################
Expand All @@ -177,12 +177,12 @@ jobs:
echo "build_outcome=${{ steps.build.outcome }}" >> $GITHUB_OUTPUT
echo ${{ steps.build.outcome }} > ${{ env.JOB_NAME }}build_outcome
- name: upload build outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}build_outcome
path: ${{ env.JOB_NAME }}build_outcome
- name: upload logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}logs
path: ${{ steps.build.outputs.logs }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test-framework-clojure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
cp modules/swagger-codegen-cli/target/swagger-codegen-cli.jar codegen-cli
fi
- name: upload codegen cli
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codegen-cli
path: codegen-cli
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
with:
java-version: ${{ matrix.java }}
- name: Download codegen cli
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: codegen-cli
- name: generate
Expand All @@ -104,18 +104,18 @@ jobs:
echo "generate_outcome=${{ steps.generate.outcome }}" >> $GITHUB_OUTPUT
echo ${{ steps.generate.outcome }} > generate_outcome_${{ env.JOB_NAME }}
- name: upload generate outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_outcome
path: generate_outcome_${{ env.JOB_NAME }}
- name: upload generate logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_logs
path: ${{ steps.generate.outputs.logs }}
- name: upload generated code
if: contains(steps.generate.outcome, 'success')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generated
path: ${{ steps.generate.outputs.path }}
Expand Down Expand Up @@ -146,12 +146,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.JOB_NAME }}generated
path: generated/${{ env.JOB_NAME }}
- name: Download logs
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_logs
###############################################
Expand Down Expand Up @@ -183,12 +183,12 @@ jobs:
echo "build_outcome=${{ steps.build.outcome }}" >> $GITHUB_OUTPUT
echo ${{ steps.build.outcome }} > ${{ env.JOB_NAME }}build_outcome
- name: upload build outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}build_outcome
path: ${{ env.JOB_NAME }}build_outcome
- name: upload logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}logs
path: ${{ steps.build.outputs.logs }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test-framework-dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
cp modules/swagger-codegen-cli/target/swagger-codegen-cli.jar codegen-cli
fi
- name: upload codegen cli
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codegen-cli
path: codegen-cli
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
with:
java-version: ${{ matrix.java }}
- name: Download codegen cli
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: codegen-cli
- name: generate
Expand All @@ -104,18 +104,18 @@ jobs:
echo "generate_outcome=${{ steps.generate.outcome }}" >> $GITHUB_OUTPUT
echo ${{ steps.generate.outcome }} > generate_outcome_${{ env.JOB_NAME }}
- name: upload generate outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_outcome
path: generate_outcome_${{ env.JOB_NAME }}
- name: upload generate logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_logs
path: ${{ steps.generate.outputs.logs }}
- name: upload generated code
if: contains(steps.generate.outcome, 'success')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generated
path: ${{ steps.generate.outputs.path }}
Expand All @@ -137,12 +137,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.JOB_NAME }}generated
path: generated/${{ env.JOB_NAME }}
- name: Download logs
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_logs
###############################################
Expand All @@ -165,12 +165,12 @@ jobs:
echo "build_outcome=${{ steps.build.outcome }}" >> $GITHUB_OUTPUT
echo ${{ steps.build.outcome }} > ${{ env.JOB_NAME }}build_outcome
- name: upload build outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}build_outcome
path: ${{ env.JOB_NAME }}build_outcome
- name: upload logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}logs
path: ${{ steps.build.outputs.logs }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test-framework-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
cp modules/swagger-codegen-cli/target/swagger-codegen-cli.jar codegen-cli
fi
- name: upload codegen cli
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codegen-cli
path: codegen-cli
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
with:
java-version: ${{ matrix.java }}
- name: Download codegen cli
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: codegen-cli
- name: generate
Expand All @@ -104,18 +104,18 @@ jobs:
echo "generate_outcome=${{ steps.generate.outcome }}" >> $GITHUB_OUTPUT
echo ${{ steps.generate.outcome }} > generate_outcome_${{ env.JOB_NAME }}
- name: upload generate outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_outcome
path: generate_outcome_${{ env.JOB_NAME }}
- name: upload generate logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_logs
path: ${{ steps.generate.outputs.logs }}
- name: upload generated code
if: contains(steps.generate.outcome, 'success')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generated
path: ${{ steps.generate.outputs.path }}
Expand Down Expand Up @@ -146,12 +146,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.JOB_NAME }}generated
path: generated/${{ env.JOB_NAME }}
- name: Download logs
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_logs
###############################################
Expand All @@ -177,12 +177,12 @@ jobs:
echo "build_outcome=${{ steps.build.outcome }}" >> $GITHUB_OUTPUT
echo ${{ steps.build.outcome }} > ${{ env.JOB_NAME }}build_outcome
- name: upload build outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}build_outcome
path: ${{ env.JOB_NAME }}build_outcome
- name: upload logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}logs
path: ${{ steps.build.outputs.logs }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test-framework-elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
cp modules/swagger-codegen-cli/target/swagger-codegen-cli.jar codegen-cli
fi
- name: upload codegen cli
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codegen-cli
path: codegen-cli
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
with:
java-version: ${{ matrix.java }}
- name: Download codegen cli
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: codegen-cli
- name: generate
Expand All @@ -104,18 +104,18 @@ jobs:
echo "generate_outcome=${{ steps.generate.outcome }}" >> $GITHUB_OUTPUT
echo ${{ steps.generate.outcome }} > generate_outcome_${{ env.JOB_NAME }}
- name: upload generate outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_outcome
path: generate_outcome_${{ env.JOB_NAME }}
- name: upload generate logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_logs
path: ${{ steps.generate.outputs.logs }}
- name: upload generated code
if: contains(steps.generate.outcome, 'success')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}generated
path: ${{ steps.generate.outputs.path }}
Expand All @@ -137,12 +137,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.JOB_NAME }}generated
path: generated/${{ env.JOB_NAME }}
- name: Download logs
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.JOB_NAME }}generate_logs
###############################################
Expand All @@ -168,12 +168,12 @@ jobs:
echo "build_outcome=${{ steps.build.outcome }}" >> $GITHUB_OUTPUT
echo ${{ steps.build.outcome }} > ${{ env.JOB_NAME }}build_outcome
- name: upload build outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}build_outcome
path: ${{ env.JOB_NAME }}build_outcome
- name: upload logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.JOB_NAME }}logs
path: ${{ steps.build.outputs.logs }}
Expand Down
Loading

0 comments on commit 35e6141

Please sign in to comment.