Skip to content

Commit

Permalink
chore: update github actions dependencies
Browse files Browse the repository at this point in the history
This solves "Node.js 16 actions are deprecated" warnings when running
the deploy pipeline.
  • Loading branch information
mbergkvist committed Feb 28, 2024
1 parent 03486f3 commit 6c527ba
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 99 deletions.
2 changes: 1 addition & 1 deletion API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ pipeline.addStage(stage, {
jobSteps: [
{
name: 'Checkout',
uses: 'actions/checkout@v3',
uses: 'actions/checkout@v4',
},
{
name: 'pre beta-deploy action',
Expand Down
4 changes: 2 additions & 2 deletions docs/waves.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const wave = pipeline.addWave('MyWave', {
jobSteps: [
{
name: 'Checkout',
uses: 'actions/checkout@v3',
uses: 'actions/checkout@v4',
},
{
name: 'post wave action',
Expand All @@ -99,7 +99,7 @@ wave.addPost([
jobSteps: [
{
name: 'Checkout',
uses: 'actions/checkout@v3',
uses: 'actions/checkout@v4',
},
{
name: 'post wave action',
Expand Down
12 changes: 6 additions & 6 deletions src/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ export class GitHubWorkflow extends PipelineBase {
...this.stepsToConfigureAws(region, assumeRoleArn),
{
id: 'Deploy',
uses: 'aws-actions/aws-cloudformation-github-deploy@v1.2.0',
uses: 'aws-actions/aws-cloudformation-github-deploy@v1',
with: params,
},
],
Expand Down Expand Up @@ -753,7 +753,7 @@ export class GitHubWorkflow extends PipelineBase {

for (const input of step.inputs) {
downloadInputs.push({
uses: 'actions/download-artifact@v3',
uses: 'actions/download-artifact@v4',
with: {
name: input.fileSet.id,
path: input.directory,
Expand All @@ -763,7 +763,7 @@ export class GitHubWorkflow extends PipelineBase {

for (const output of step.outputs) {
uploadOutputs.push({
uses: 'actions/upload-artifact@v3',
uses: 'actions/upload-artifact@v4',
with: {
name: output.fileSet.id,
path: output.directory,
Expand Down Expand Up @@ -865,7 +865,7 @@ export class GitHubWorkflow extends PipelineBase {

return [{
name: `Download ${CDKOUT_ARTIFACT}`,
uses: 'actions/download-artifact@v3',
uses: 'actions/download-artifact@v4',
with: {
name: CDKOUT_ARTIFACT,
path: targetDir,
Expand All @@ -877,7 +877,7 @@ export class GitHubWorkflow extends PipelineBase {
return [
{
name: 'Checkout',
uses: 'actions/checkout@v3',
uses: 'actions/checkout@v4',
},
];
}
Expand All @@ -889,7 +889,7 @@ export class GitHubWorkflow extends PipelineBase {

return [{
name: `Upload ${CDKOUT_ARTIFACT}`,
uses: 'actions/upload-artifact@v3',
uses: 'actions/upload-artifact@v4',
with: {
name: CDKOUT_ARTIFACT,
path: dir,
Expand Down
Loading

0 comments on commit 6c527ba

Please sign in to comment.