fix: Update GitHub Actions to stable versions

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-30 02:38:30 +00:00
parent 9b550a083a
commit 594dfc6376
2 changed files with 13 additions and 6 deletions

View File

@@ -76,7 +76,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v4
with:
fetch-depth: 0
@@ -128,10 +128,10 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v4
- name: Download build artifacts
uses: actions/download-artifact@v7
uses: actions/download-artifact@v4
with:
name: deployment-package-${{ needs.detect.outputs.project-type }}
path: ./dist
@@ -139,11 +139,18 @@ jobs:
- name: Setup SSH key
if: inputs.deployment-method == 'ssh' || inputs.deployment-method == 'rsync'
run: |
if [ -z "${{ secrets.DEPLOY_KEY }}" ]; then
echo "Error: DEPLOY_KEY secret is not set"
exit 1
fi
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/deploy_key
chmod 600 ~/.ssh/deploy_key
ssh-keyscan -H "${{ secrets.DEPLOY_HOST }}" >> ~/.ssh/known_hosts
# Ensure cleanup happens even on failure
trap 'rm -f ~/.ssh/deploy_key' EXIT
- name: Deploy via rsync
if: inputs.deployment-method == 'rsync'
run: |

View File

@@ -65,11 +65,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v4
- name: Setup Python
if: endsWith(inputs.script_path, '.py')
uses: actions/setup-python@v6
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python_version }}
@@ -182,7 +182,7 @@ jobs:
- name: Upload script output
if: always()
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v4
with:
name: script-output-${{ github.run_id }}
path: |