Skip to content

Commit 930681f

Browse files
committed
address deprecated github actions
1 parent 84fb165 commit 930681f

6 files changed

+24
-20
lines changed

.github/workflows/build_nudge_pr.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111

1212
steps:
1313
- name: Checkout nudge repo
14-
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
14+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1515
with:
1616
ref: ${{ github.event.pull_request.head.sha }}
1717
fetch-depth: 0
1818

1919
- name: Install Apple Xcode certificates
20-
uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
20+
uses: apple-actions/import-codesign-certs@63fff01cd422d4b7b855d40ca1e9d34d2de9427d # v3.0.0
2121
with:
2222
keychain-password: ${{ github.run_id }}
2323
p12-file-base64: ${{ secrets.APP_CERTIFICATES_P12_MAOS }}
2424
p12-password: ${{ secrets.APP_CERTIFICATES_P12_PASSWORD_MAOS }}
2525

2626
- name: Install Apple Installer certificates
27-
uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
27+
uses: apple-actions/import-codesign-certs@63fff01cd422d4b7b855d40ca1e9d34d2de9427d # v3.0.0
2828
with:
2929
create-keychain: false # do not create a new keychain for this value
3030
keychain-password: ${{ github.run_id }}
@@ -41,7 +41,7 @@ jobs:
4141
echo "NUDGE_MAIN_VERSION=$(/bin/cat ./build_info_main.txt)" >> $GITHUB_ENV
4242
4343
- name: Upload zip archive
44-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
44+
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
4545
with:
4646
name: packages
4747
path: outputs/

.github/workflows/build_nudge_prerelease.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ jobs:
1919

2020
steps:
2121
- name: Checkout nudge repo
22-
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
22+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2323
with:
2424
fetch-depth: 0
2525

2626
- name: Install Apple Xcode certificates
27-
uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
27+
uses: apple-actions/import-codesign-certs@63fff01cd422d4b7b855d40ca1e9d34d2de9427d # v3.0.0
2828
with:
2929
keychain-password: ${{ github.run_id }}
3030
p12-file-base64: ${{ secrets.APP_CERTIFICATES_P12_MAOS }}
3131
p12-password: ${{ secrets.APP_CERTIFICATES_P12_PASSWORD_MAOS }}
3232

3333
- name: Install Apple Installer certificates
34-
uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
34+
uses: apple-actions/import-codesign-certs@63fff01cd422d4b7b855d40ca1e9d34d2de9427d # v3.0.0
3535
with:
3636
create-keychain: false # do not create a new keychain for this value
3737
keychain-password: ${{ github.run_id }}
@@ -89,7 +89,7 @@ jobs:
8989
files: ${{github.workspace}}/outputs/*.pkg
9090

9191
- name: Upload packages
92-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
92+
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
9393
with:
9494
name: packages
9595
path: outputs/

.github/workflows/build_nudge_prerelease_manual.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ jobs:
1111

1212
steps:
1313
- name: Checkout nudge repo
14-
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
14+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Install Apple Xcode certificates
19-
uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
19+
uses: apple-actions/import-codesign-certs@63fff01cd422d4b7b855d40ca1e9d34d2de9427d # v3.0.0
2020
with:
2121
keychain-password: ${{ github.run_id }}
2222
p12-file-base64: ${{ secrets.APP_CERTIFICATES_P12_MAOS }}
2323
p12-password: ${{ secrets.APP_CERTIFICATES_P12_PASSWORD_MAOS }}
2424

2525
- name: Install Apple Installer certificates
26-
uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
26+
uses: apple-actions/import-codesign-certs@63fff01cd422d4b7b855d40ca1e9d34d2de9427d # v3.0.0
2727
with:
2828
create-keychain: false # do not create a new keychain for this value
2929
keychain-password: ${{ github.run_id }}
@@ -81,7 +81,7 @@ jobs:
8181
files: ${{github.workspace}}/outputs/*.pkg
8282

8383
- name: Upload packages
84-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
84+
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
8585
with:
8686
name: packages
8787
path: outputs/

.github/workflows/build_nudge_release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ jobs:
1919

2020
steps:
2121
- name: Checkout nudge repo
22-
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
22+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2323
with:
2424
fetch-depth: 0
2525

2626
- name: Install Apple Xcode certificates
27-
uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
27+
uses: apple-actions/import-codesign-certs@63fff01cd422d4b7b855d40ca1e9d34d2de9427d # v3.0.0
2828
with:
2929
keychain-password: ${{ github.run_id }}
3030
p12-file-base64: ${{ secrets.APP_CERTIFICATES_P12_MAOS }}
3131
p12-password: ${{ secrets.APP_CERTIFICATES_P12_PASSWORD_MAOS }}
3232

3333
- name: Install Apple Installer certificates
34-
uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
34+
uses: apple-actions/import-codesign-certs@63fff01cd422d4b7b855d40ca1e9d34d2de9427d # v3.0.0
3535
with:
3636
create-keychain: false # do not create a new keychain for this value
3737
keychain-password: ${{ github.run_id }}
@@ -89,7 +89,7 @@ jobs:
8989
files: ${{github.workspace}}/outputs/*.pkg
9090

9191
- name: Upload packages
92-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
92+
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
9393
with:
9494
name: packages
9595
path: outputs/

.github/workflows/build_nudge_release_manual.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ jobs:
1111

1212
steps:
1313
- name: Checkout nudge repo
14-
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
14+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Install Apple Xcode certificates
19-
uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
19+
uses: apple-actions/import-codesign-certs@63fff01cd422d4b7b855d40ca1e9d34d2de9427d # v3.0.0
2020
with:
2121
keychain-password: ${{ github.run_id }}
2222
p12-file-base64: ${{ secrets.APP_CERTIFICATES_P12_MAOS }}
2323
p12-password: ${{ secrets.APP_CERTIFICATES_P12_PASSWORD_MAOS }}
2424

2525
- name: Install Apple Installer certificates
26-
uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
26+
uses: apple-actions/import-codesign-certs@63fff01cd422d4b7b855d40ca1e9d34d2de9427d # v3.0.0
2727
with:
2828
create-keychain: false # do not create a new keychain for this value
2929
keychain-password: ${{ github.run_id }}
@@ -81,7 +81,7 @@ jobs:
8181
files: ${{github.workspace}}/outputs/*.pkg
8282

8383
- name: Upload packages
84-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
84+
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
8585
with:
8686
name: packages
8787
path: outputs/

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ Requires macOS 12.0 and higher.
1616
- When `showRequiredDate` is set to `True` and the admin is using the default values for `requiredInstallationDisplayFormat`, Nudge will attempt to understand the current locale and display the menu item appropriately.
1717
- Addresses [615](https://github.com/macadmins/nudge/issues/615)
1818

19+
### Fixed
20+
- Several components in the Github Actions were triggering deprecation warnings. These have been addressed by updating to the latest version of these components
21+
- Addresses [616](https://github.com/macadmins/nudge/issues/616)
22+
1923
## [2.0.4] - 2024-07-23
2024
Requires macOS 12.0 and higher.
2125

0 commit comments

Comments
 (0)