Skip to content

Commit

Permalink
Change comment for build-specific properties
Browse files Browse the repository at this point in the history
  • Loading branch information
snehapar9 committed Sep 28, 2023
1 parent 17ceee9 commit 1316d97
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions azurecontainerapps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ export class azurecontainerapps {
}
}

// GitHub Action properties
private static buildId: string = toolHelper.getbuildId();
private static buildNumber: string = toolHelper.getbuildNumber();
// Build-specific properties
private static buildId: string = toolHelper.getBuildId();
private static buildNumber: string = toolHelper.getBuildNumber();

// Supported scenario properties
private static appSourcePath: string;
Expand Down
10 changes: 5 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,9 @@ var azurecontainerapps = /** @class */ (function () {
});
});
};
// GitHub Action properties
azurecontainerapps.buildId = toolHelper.getbuildId();
azurecontainerapps.buildNumber = toolHelper.getbuildNumber();
// Build-specific properties
azurecontainerapps.buildId = toolHelper.getBuildId();
azurecontainerapps.buildNumber = toolHelper.getBuildNumber();
return azurecontainerapps;
}());
exports.azurecontainerapps = azurecontainerapps;
Expand Down Expand Up @@ -5488,10 +5488,10 @@ var exec = __nccwpck_require__(9714);
var GitHubActionsToolHelper = /** @class */ (function () {
function GitHubActionsToolHelper() {
}
GitHubActionsToolHelper.prototype.getbuildId = function () {
GitHubActionsToolHelper.prototype.getBuildId = function () {
return process.env['GITHUB_RUN_ID'] || '';
};
GitHubActionsToolHelper.prototype.getbuildNumber = function () {
GitHubActionsToolHelper.prototype.getBuildNumber = function () {
return process.env['GITHUB_RUN_NUMBER'] || '';
};
GitHubActionsToolHelper.prototype.writeInfo = function (message) {
Expand Down
4 changes: 2 additions & 2 deletions src/GithubActionsToolHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import * as exec from '@actions/exec';

export class GitHubActionsToolHelper {

public getbuildId(): string {
public getBuildId(): string {
return process.env['GITHUB_RUN_ID'] || '';
}

public getbuildNumber(): string {
public getBuildNumber(): string {
return process.env['GITHUB_RUN_NUMBER'] || '';
}

Expand Down

0 comments on commit 1316d97

Please sign in to comment.