diff --git a/.github/workflows/ftp.yml b/.github/workflows/ftp.yml index 06f273e..5a95750 100644 --- a/.github/workflows/ftp.yml +++ b/.github/workflows/ftp.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🚚 Get latest code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: 📂 Sync files uses: ./ diff --git a/.github/workflows/ftps.yml b/.github/workflows/ftps.yml index b4aed1b..e30e3bd 100644 --- a/.github/workflows/ftps.yml +++ b/.github/workflows/ftps.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🚚 Get latest code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: 📂 Sync files uses: ./ diff --git a/README.md b/README.md index c7dfd25..4f6dfc4 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,10 @@ jobs: runs-on: ubuntu-latest steps: - name: 🚚 Get latest code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@v4.3.6 + uses: SamKirkland/FTP-Deploy-Action@v4.4.0 with: server: ftp.samkirkland.com username: myFtpUserName @@ -86,7 +86,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🚚 Get latest code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Use Node.js 16 uses: actions/setup-node@v2 @@ -99,7 +99,7 @@ jobs: npm run build - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@v4.3.6 + uses: SamKirkland/FTP-Deploy-Action@v4.4.0 with: server: ftp.samkirkland.com username: myFtpUserName @@ -116,10 +116,10 @@ jobs: runs-on: ubuntu-latest steps: - name: 🚚 Get latest code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@v4.3.6 + uses: SamKirkland/FTP-Deploy-Action@v4.4.0 with: server: ftp.samkirkland.com username: myFtpUserName @@ -139,10 +139,10 @@ jobs: runs-on: ubuntu-latest steps: - name: 🚚 Get latest code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@v4.3.6 + uses: SamKirkland/FTP-Deploy-Action@v4.4.0 with: server: ftp.samkirkland.com username: myFtpUserName @@ -161,10 +161,10 @@ jobs: runs-on: ubuntu-latest steps: - name: 🚚 Get latest code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@v4.3.6 + uses: SamKirkland/FTP-Deploy-Action@v4.4.0 with: server: ftp.samkirkland.com username: myFtpUserName diff --git a/action.yml b/action.yml index db4552d..28f098a 100644 --- a/action.yml +++ b/action.yml @@ -45,7 +45,7 @@ inputs: required: false description: "Timeout in milliseconds for FTP operations" runs: - using: "node20" + using: "node24" main: "dist/index.js" branding: icon: "upload-cloud" diff --git a/migration.md b/migration.md index e98d292..778ffef 100644 --- a/migration.md +++ b/migration.md @@ -25,7 +25,7 @@ Most features have been carried forward and improved upon. However, some feature ### How to upgrade 1. Remove `with: fetch-depth: 2`. It is no longer needed and removing it will _slightly_ speed up deployments. -2. Change the version to `v4.X.X`, for example `SamKirkland/FTP-Deploy-Action@v4.3.6` (please check the [README](https://github.com/SamKirkland/FTP-Deploy-Action/blob/master/README.md) or the [releases page](https://github.com/SamKirkland/FTP-Deploy-Action/releases/latest) for the latest version). +2. Change the version to `v4.X.X`, for example `SamKirkland/FTP-Deploy-Action@v4.4.0` (please check the [README](https://github.com/SamKirkland/FTP-Deploy-Action/blob/master/README.md) or the [releases page](https://github.com/SamKirkland/FTP-Deploy-Action/releases/latest) for the latest version). 3. If you have a `.git-ftp-include` file you should delete it. Version 4 tracks files differently and no longer needs this config file. 4. If you have a `.git-ftp-ignore` file, you should transfer the options to the new `exclude` argument. **Note:** version 4 excludes any `.git*` and `node_modules/` files / folders by default. 5. Update your arguments to reflect the following changes: diff --git a/package-lock.json b/package-lock.json index 749a690..8ca8a14 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ftp-deploy-action", - "version": "4.3.5", + "version": "4.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ftp-deploy-action", - "version": "4.3.5", + "version": "4.4.0", "license": "MIT", "dependencies": { "@actions/core": "^1.9.1", @@ -17,7 +17,7 @@ "ts-node-dev": "^2.0.0" }, "devDependencies": { - "@types/node": "^20.11.24", + "@types/node": "^24.0.0", "@typescript-eslint/eslint-plugin": "^5.33.1", "@typescript-eslint/parser": "^5.33.1", "@vercel/ncc": "^0.34.0", @@ -1242,11 +1242,12 @@ "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==" }, "node_modules/@types/node": { - "version": "20.11.24", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.24.tgz", - "integrity": "sha512-Kza43ewS3xoLgCEpQrsT+xRo/EJej1y0kVYGiLFE1NEODXGzTfwiC6tXTLMQskn1X4/Rjlh0MQUvx9W+L9long==", + "version": "24.12.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.2.tgz", + "integrity": "sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==", + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~7.16.0" } }, "node_modules/@types/prettier": { @@ -4734,9 +4735,10 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "license": "MIT" }, "node_modules/update-browserslist-db": { "version": "1.0.10", diff --git a/package.json b/package.json index 03777b4..5eb2b4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ftp-deploy-action", - "version": "4.3.6", + "version": "4.4.0", "private": true, "description": "Automate deploying websites and more with this GitHub action", "main": "dist/index.js", @@ -30,7 +30,7 @@ "ts-node-dev": "^2.0.0" }, "devDependencies": { - "@types/node": "^20.11.24", + "@types/node": "^24.0.0", "@typescript-eslint/eslint-plugin": "^5.33.1", "@typescript-eslint/parser": "^5.33.1", "@vercel/ncc": "^0.34.0",