text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  function getUploadFileConcurrency() {
      return 2;
  }
  exports.getUploadFileConcurrency = getUploadFileConcurrency;
  function getUploadChunkConcurrency() {
      return 1;
  }
  exports.getUploadChunkConcurrency = getUploadChunkConcurrency;
  function getUploadChunkSize() {
      return 4 * 1024 * 1024; // 4 MB Chunks
  }
  exports.getUploadChunkSize = getUploadChunkSize;
  function getDownloadFileConcurrency() {
      return 2;
  }
  exports.getDownloadFileConcurrency = getDownloadFileConcurrency;
  function getDownloadArtifactConcurrency() {
      // when downloading all artifact at once, this is number of concurrent artifacts being downloaded
      return 1;
  }
  exports.getDownloadArtifactConcurrency = getDownloadArtifactConcurrency;
  function getRuntimeToken() {
      const token = process.env['ACTIONS_RUNTIME_TOKEN'];
      if (!token) {
          throw new Error('Unable to get ACTIONS_RUNTIME_TOKEN env variable');
      }
      return token;
  }
  exports.getRuntimeToken = getRuntimeToken;
  function getRuntimeUrl() {
      const runtimeUrl = process.env['ACTIONS_RUNTIME_URL'];
      if (!runtimeUrl) {
          throw new Error('Unable to get ACTIONS_RUNTIME_URL env variable');
      }
      return runtimeUrl;
  }
  exports.getRuntimeUrl = getRuntimeUrl;
  function getWorkFlowRunId() {
      const workFlowRunId = process.env['GITHUB_RUN_ID'];
      if (!workFlowRunId) {
          throw new Error('Unable to get GITHUB_RUN_ID env variable');
      }
      return workFlowRunId;
  }
  exports.getWorkFlowRunId = getWorkFlowRunId;
  function getWorkSpaceDirectory() {
      const workspaceDirectory = process.env['GITHUB_WORKSPACE'];
      if (!workspaceDirectory) {
          throw new Error('Unable to get GITHUB_WORKSPACE env variable');
      }
      return workspaceDirectory;
  }
  exports.getWorkSpaceDirectory = getWorkSpaceDirectory;
  //# sourceMappingURL=internal-config-variables.js.map