diff --git a/.github/workflows/release-new-action-version.yml b/.github/workflows/release-new-action-version.yml index 0b64c97..1d0fb7f 100644 --- a/.github/workflows/release-new-action-version.yml +++ b/.github/workflows/release-new-action-version.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Update the ${{ env.TAG_NAME }} tag id: update-major-tag - uses: actions/publish-action@v0.3.0 + uses: actions/publish-action@v0.2.1 with: source-tag: ${{ env.TAG_NAME }} slack-webhook: ${{ secrets.SLACK_WEBHOOK }} diff --git a/dist/merge/index.js b/dist/merge/index.js index 64b7b97..d4574a7 100644 --- a/dist/merge/index.js +++ b/dist/merge/index.js @@ -3023,11 +3023,7 @@ function getResultsServiceUrl() { } exports.getResultsServiceUrl = getResultsServiceUrl; function isGhes() { - const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); - const hostname = ghUrl.hostname.trimEnd().toUpperCase(); - const isGitHubHost = hostname === 'GITHUB.COM'; - const isGheHost = hostname.endsWith('.GHE.COM') || hostname.endsWith('.GHE.LOCALHOST'); - return !isGitHubHost && !isGheHost; + return false; } exports.isGhes = isGhes; function getGitHubWorkspaceDir() { @@ -133673,4 +133669,4 @@ module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"] /******/ module.exports = __webpack_exports__; /******/ /******/ })() -; \ No newline at end of file +; diff --git a/dist/upload/index.js b/dist/upload/index.js index 3b3b208..df5e07f 100644 --- a/dist/upload/index.js +++ b/dist/upload/index.js @@ -3023,11 +3023,7 @@ function getResultsServiceUrl() { } exports.getResultsServiceUrl = getResultsServiceUrl; function isGhes() { - const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); - const hostname = ghUrl.hostname.trimEnd().toUpperCase(); - const isGitHubHost = hostname === 'GITHUB.COM'; - const isGheHost = hostname.endsWith('.GHE.COM') || hostname.endsWith('.GHE.LOCALHOST'); - return !isGitHubHost && !isGheHost; + return false; } exports.isGhes = isGhes; function getGitHubWorkspaceDir() { @@ -131829,4 +131825,4 @@ module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"] /******/ module.exports = __webpack_exports__; /******/ /******/ })() -; \ No newline at end of file +; diff --git a/docs/MIGRATION.md b/docs/MIGRATION.md index 1c656fc..b31dc26 100644 --- a/docs/MIGRATION.md +++ b/docs/MIGRATION.md @@ -189,8 +189,7 @@ jobs: - name: Create a File run: echo "hello from ${{ matrix.runs-on }}" > file-${{ matrix.runs-on }}.txt - name: Upload Artifact -- uses: actions/upload-artifact@v3 -+ uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: - name: all-my-files + name: my-artifact-${{ matrix.runs-on }}