Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/actions/connect-integration-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ outputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: ${{ inputs.extension-name }}.tar.gz
path: integration/bundles

- uses: astral-sh/setup-uv@v5
- uses: astral-sh/setup-uv@v7
with:
pyproject-file: "./integration/pyproject.toml"

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/lint-extension/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ runs:
fi
shell: bash

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7

- run: npm install -g semver
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/package-extension/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
# this avoids including extra files in the extension
- name: Download optional artifact
if: ${{ inputs.artifact-name != '' }}
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ inputs.artifact-name }}
path: ${{ inputs.extension-name }}
Expand All @@ -39,7 +39,7 @@ runs:

# Upload the extension's tarball for use in other actions in the workflow
- name: Upload extension tar
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ inputs.extension-name }}.tar.gz
path: ${{ inputs.extension-name }}.tar.gz
8 changes: 4 additions & 4 deletions .github/actions/release-extension/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
using: "composite"

steps:
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7

- run: npm install -g semver
shell: bash
Expand Down Expand Up @@ -80,7 +80,7 @@ runs:
shell: bash

# Here we download the packaged extension artifact to release
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
if: github.ref_name == 'main' && steps.should_release.outputs.should_release == 'true'
with:
name: ${{ inputs.extension-name }}.tar.gz
Expand Down Expand Up @@ -127,7 +127,7 @@ runs:
# download each artifact matching the pattern
- name: Upload release data
if: github.ref_name == 'main' && steps.should_release.outputs.should_release == 'true'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: release-${{ inputs.extension-name }}.json
path: release-${{ inputs.extension-name }}.json
Expand All @@ -137,7 +137,7 @@ runs:
# job can summarize both will-release and won't-release extensions.
- name: Upload release check data
if: github.event_name == 'pull_request' && env.MANIFEST_VERSION != '0.0.0'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: would-release-${{ inputs.extension-name }}.json
path: would-release-${{ inputs.extension-name }}.json
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/connect-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
outputs:
versions: ${{ steps.versions.outputs.versions }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- id: versions
working-directory: ./integration
Expand All @@ -55,7 +55,7 @@ jobs:
outputs:
matrix: ${{ steps.generate_matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7

# This step generates a matrix of compatible extension/version combinations
# by checking each extension's minimumConnectVersion against available Connect versions
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
matrix:
include: ${{ fromJson(needs.setup-extension-versions.outputs.matrix) }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

# Run the integration test for this extension/version combination
- uses: ./.github/actions/connect-integration-test
Expand All @@ -172,7 +172,7 @@ jobs:
connect-license: ${{ secrets.CONNECT_LICENSE }}

# Upload the test report XML files as artifacts for use by downstream jobs
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
if: always() && steps.test.outcome != 'cancelled' && steps.test.outcome != 'skipped'
with:
name: ${{ matrix.extension }}-${{ matrix.connect_version }}-test-report
Expand All @@ -188,7 +188,7 @@ jobs:
successful_extensions: ${{ steps.collect.outputs.successful_extensions }}
if: always()
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
id: download
with:
path: artifacts
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
releasable: ${{ steps.resolve.outputs.releasable }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@v4
id: changes
with:
# Adding a new extension that has a directory that can be TARed?
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: ./.github/actions/lint-extension
with:
Expand All @@ -114,7 +114,7 @@ jobs:
- name: Mark successful jobs
run: echo "${{ matrix.extension }}" >> ${{ matrix.extension }}.packaged.successfully

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: ${{ matrix.extension }}.packaged.successfully
path: ${{ matrix.extension }}.packaged.successfully
Expand All @@ -127,7 +127,7 @@ jobs:
outputs:
successful_extensions: ${{ steps.collect.outputs.successful_extensions }}
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
# Uses artifacts generated from package-extension which are only present if packaging was successful
pattern: "*.packaged.successfully"
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
# otherwise, the release is skipped
# See the action comments for more details
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

# Skipped for extensions that were only swept in for testing by an
# infra change; releases require the extension's own files to change
Expand Down Expand Up @@ -214,9 +214,9 @@ jobs:
usage-metrics-dashboard: ${{ steps.resolve.outputs.usage-metrics-dashboard }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@v4
id: changes
with:
# Adding a new extension that has a complex build process?
Expand Down Expand Up @@ -307,7 +307,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Download release check artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: would-release-*.json
path: would-release
Expand Down Expand Up @@ -392,7 +392,7 @@ jobs:
# Downloads every release data file from the release-extension action
# merging them under the .releases/ directory
- name: Download GitHub release data
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: release-*.json
path: releases
Expand Down Expand Up @@ -424,7 +424,7 @@ jobs:
steps:
- name: Generate token for GitHub App
id: generate-token
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
with:
app-id: 1129585
private-key: ${{ secrets.POSIT_CONNECT_PROJECTS_PEM }}
Expand All @@ -433,12 +433,12 @@ jobs:
# Checkout main to commit the updated extension list
# reduces the chance of conflicts when updating the extension list with
# multiple running workflows
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
ref: main
token: ${{ steps.generate-token.outputs.token }}

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: "lts/*"
cache: "npm"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/package-vulnerability-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
# Checkout the repository so the rest of the actions can run with no issue
- uses: actions/checkout@v4
- uses: actions/checkout@v7

# We want to fail quickly if the linting fails, do that first
- uses: ./.github/actions/lint-extension
Expand All @@ -27,7 +27,7 @@ jobs:

# Publisher Command Center needs to setup node, install dependencies, and
# build to make the files needed for the extension
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: "lts/*"
cache: "npm"
Expand All @@ -42,7 +42,7 @@ jobs:
# This only includes necessary files for the extension to run leaving out
# the files that were used to build the /dist/ directory
- name: Upload built extension
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ env.EXTENSION_NAME }}
path: |
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
# version has been updated
steps:
# Checkout the repository so the rest of the actions can run with no issue
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: ./.github/actions/release-extension
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publisher-command-center.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
# Checkout the repository so the rest of the actions can run with no issue
- uses: actions/checkout@v4
- uses: actions/checkout@v7

# We want to fail quickly if the linting fails, do that first
- uses: ./.github/actions/lint-extension
Expand All @@ -27,7 +27,7 @@ jobs:

# Publisher Command Center needs to setup node, install dependencies, and
# build to make the files needed for the extension
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: "lts/*"
cache: "npm"
Expand All @@ -42,7 +42,7 @@ jobs:
# This only includes necessary files for the extension to run leaving out
# the files that were used to build the /dist/ directory
- name: Upload built extension
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ env.EXTENSION_NAME }}
path: |
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
# version has been updated
steps:
# Checkout the repository so the rest of the actions can run with no issue
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: ./.github/actions/release-extension
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/runtime-version-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
# Checkout the repository so the rest of the actions can run with no issue
- uses: actions/checkout@v4
- uses: actions/checkout@v7

# We want to fail quickly if the linting fails, do that first
- uses: ./.github/actions/lint-extension
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
# This only includes necessary files for the extension to run leaving out
# the files that were used to build the /dist/ directory
- name: Upload built extension
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ env.EXTENSION_NAME }}
# Replace the below with the files your content needs
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
# version has been updated
steps:
# Checkout the repository so the rest of the actions can run with no issue
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: ./.github/actions/release-extension
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/usage-metrics-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
# Checkout the repository so the rest of the actions can run with no issue
- uses: actions/checkout@v4
- uses: actions/checkout@v7

# We want to fail quickly if the linting fails, do that first
- uses: ./.github/actions/lint-extension
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
# This only includes necessary files for the extension to run leaving out
# the files that were used to build the /dist/ directory
- name: Upload built extension
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ env.EXTENSION_NAME }}
# Replace the below with the files your content needs
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
# version has been updated
steps:
# Checkout the repository so the rest of the actions can run with no issue
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: ./.github/actions/release-extension
with:
Expand Down
Loading
Loading