Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Commit

Permalink
fix: update the actions to stop using the deprecated set-env command
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinpinto committed Nov 15, 2020
1 parent 65b0369 commit 37a6a5b
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.16.3
lts/dubnium
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('automatic releases smoke tests', () => {
});

// Should set the AUTOMATIC_RELEASES_TAG env variable to "testingtaglatest"
expect(stdout).toEqual(expect.stringMatching(/::set-env name=AUTOMATIC_RELEASES_TAG,::testingtaglatest/));
expect(stdout).toEqual(expect.stringMatching(/::set-env name=AUTOMATIC_RELEASES_TAG::testingtaglatest/));

// There should not be any stderr output
expect(stderr).toEqual('');
Expand All @@ -62,7 +62,7 @@ describe('automatic releases smoke tests', () => {
});

// Should set the AUTOMATIC_RELEASES_TAG env variable to "testingtaglatest"
expect(stdout).toEqual(expect.stringMatching(/::set-env name=AUTOMATIC_RELEASES_TAG,::testingtaglatest/));
expect(stdout).toEqual(expect.stringMatching(/::set-env name=AUTOMATIC_RELEASES_TAG::testingtaglatest/));

// There should not be any stderr output
expect(stderr).toEqual('');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('tagged releases smoke tests', () => {
});

// Should set the AUTOMATIC_RELEASES_TAG env variable to "v0.0.1"
expect(stdout).toEqual(expect.stringMatching(/::set-env name=AUTOMATIC_RELEASES_TAG,::v0.0.1/));
expect(stdout).toEqual(expect.stringMatching(/::set-env name=AUTOMATIC_RELEASES_TAG::v0.0.1/));

// There should not be any stderr output
expect(stderr).toEqual('');
Expand Down
2 changes: 1 addition & 1 deletion packages/automatic-releases/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"lintfix:prettier": "prettier --color --write $npm_package_config_prettierPaths"
},
"dependencies": {
"@actions/core": "^1.2.0",
"@actions/core": "^1.2.6",
"@actions/github": "^2.0.0",
"@octokit/rest": "^16.36.0",
"conventional-changelog-angular": "^5.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-ssm-secrets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lintfix:prettier": "prettier --color --write $npm_package_config_prettierPaths"
},
"dependencies": {
"@actions/core": "^1.2.5",
"@actions/core": "^1.2.6",
"aws-sdk": "^2.748.0"
},
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/keybase-notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lintfix:prettier": "prettier --color --write $npm_package_config_prettierPaths"
},
"dependencies": {
"@actions/core": "^1.2.0",
"@actions/core": "^1.2.6",
"@actions/github": "^2.0.0",
"axios": "^0.19.0"
},
Expand Down
13 changes: 4 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@
# yarn lockfile v1


"@actions/core@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.2.0.tgz#aa5f52b26c362c821d41557e599371a42f6c0b3d"
integrity sha512-ZKdyhlSlyz38S6YFfPnyNgCDZuAF2T0Qv5eHflNWytPS8Qjvz39bZFMry9Bb/dpSnqWcNeav5yM2CTYpJeY+Dw==

"@actions/core@^1.2.5":
version "1.2.5"
resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.2.5.tgz#fa57bf8c07a38191e243beb9ea9d8368c1cb02c8"
integrity sha512-mwpoNjHSWWh0IiALdDEQi3tru124JKn0yVNziIBzTME8QRv7thwoghVuT1jBRjFvdtoHsqD58IRHy1nf86paRg==
"@actions/core@^1.2.6":
version "1.2.6"
resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.2.6.tgz#a78d49f41a4def18e88ce47c2cac615d5694bf09"
integrity sha512-ZQYitnqiyBc3D+k7LsgSBmMDVkOVidaagDG7j3fOym77jNunWRuYx7VSHa9GNfFZh+zh61xsCjRj4JxMZlDqTA==

"@actions/github@^2.0.0":
version "2.0.0"
Expand Down

0 comments on commit 37a6a5b

Please sign in to comment.