From f9bc1620756e8829997627a908e96cb8788b10b3 Mon Sep 17 00:00:00 2001 From: Maksym Bondar Date: Thu, 25 Jan 2024 14:27:52 -0500 Subject: [PATCH 1/4] IPFM-1484: Update actions --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d5ea389..e141391 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - name: Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .build key: ${{ runner.os }}-swift-${{ hashFiles('Package.resolved') }} From 20ff84b4b0f2d2310731237adf4c52e8b153c131 Mon Sep 17 00:00:00 2001 From: Maksym Bondar Date: Thu, 25 Jan 2024 14:33:44 -0500 Subject: [PATCH 2/4] IPFM-1484: Update checkout to v4 --- .github/workflows/CI.yml | 2 +- .github/workflows/create-release.yml | 2 +- .github/workflows/update-changelog.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e141391..c1dc84e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,7 +15,7 @@ jobs: runs-on: ${{ matrix.runner }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache uses: actions/cache@v4 diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index fa1b534..0571ca2 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -10,7 +10,7 @@ jobs: if: github.event.pull_request.merged == true && github.head_ref == 'create-release' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get app version id: get-version diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index 4db6502..bd3048f 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -25,7 +25,7 @@ jobs: required-permission: admin - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create branch run: git checkout -b create-release From 058c2025ac8bd41571164e93224259c38f0f76ac Mon Sep 17 00:00:00 2001 From: Maksym Bondar Date: Thu, 25 Jan 2024 15:13:24 -0500 Subject: [PATCH 3/4] IPFM-1484: Update github-script to v7 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index ac32c0b..b902908 100644 --- a/action.yml +++ b/action.yml @@ -188,7 +188,7 @@ runs: - name: Set output id: set-output - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const { CHANGELOG_GENERATED_VALUE } = process.env From a5473c09ca1dff943c6ad7cefe135d8569214c25 Mon Sep 17 00:00:00 2001 From: Maksym Bondar Date: Thu, 25 Jan 2024 15:16:26 -0500 Subject: [PATCH 4/4] IPFM-1484: Replace deprecated set-output --- .github/workflows/create-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 0571ca2..f301f20 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -20,7 +20,7 @@ jobs: title="${{ github.event.pull_request.title }}" tag="${title:15}" - echo "::set-output name=tag::$tag" + echo "tag=$tag" >> $GITHUB_OUTPUT - name: Update tag uses: scoremedia/update-tag@v2 @@ -48,7 +48,7 @@ jobs: echo $output >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - echo "::set-output name=changelog::$output" + echo "changelog=$output" >> $GITHUB_OUTPUT - name: Create Release id: create_release