From 14e8325c5ac53ad30cda03a9d635301b6bd55860 Mon Sep 17 00:00:00 2001 From: Joshua Sing Date: Mon, 26 Aug 2024 04:04:39 +1000 Subject: ci: update actions --- .github/workflows/cifuzz.yml | 2 +- .github/workflows/cmake_config.yml | 2 +- .github/workflows/fedora-rawhide.yml | 2 +- .github/workflows/release.yml | 14 +++++--------- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 966d92a..b93ea0e 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -26,7 +26,7 @@ jobs: dry-run: false language: c++ - name: Upload Crash - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() && steps.build.outcome == 'success' with: name: artifacts diff --git a/.github/workflows/cmake_config.yml b/.github/workflows/cmake_config.yml index be9f114..931a26e 100644 --- a/.github/workflows/cmake_config.yml +++ b/.github/workflows/cmake_config.yml @@ -37,7 +37,7 @@ jobs: if: runner.os == 'macOS' run: brew install automake libtool - - uses: actions/checkout@main + - uses: actions/checkout@v4 - name: Prepare source tree for build (Windows) if: runner.os == 'Windows' diff --git a/.github/workflows/fedora-rawhide.yml b/.github/workflows/fedora-rawhide.yml index ec3c63d..4758d2f 100644 --- a/.github/workflows/fedora-rawhide.yml +++ b/.github/workflows/fedora-rawhide.yml @@ -23,7 +23,7 @@ jobs: container: image: fedora:rawhide steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: | dnf -y install git make clang cmake ninja-build autoconf automake libtool diffutils patch diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c2e94b8..8fe051e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: - name: "Create GitHub release" id: create_release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: body_path: "${{ github.workspace }}/release-changelog.txt" @@ -72,14 +72,10 @@ jobs: run: cmake --install build --config Release - shell: pwsh - run: Compress-Archive -Path local\* local.zip + run: Compress-Archive -Path local\* "libressl_${{ github.ref_name }}_windows_${{ matrix.arch }}.zip" - name: "Upload release artifact" - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: "${{ github.token }}" + uses: softprops/action-gh-release@v2 with: - upload_url: "${{ needs.release.outputs.upload_url }}" - asset_path: "local.zip" - asset_name: "libressl_${{ github.ref_name }}_windows_${{ matrix.arch }}.zip" - asset_content_type: "application/zip" + files: | + libressl_${{ github.ref_name }}_windows_${{ matrix.arch }}.zip -- cgit v1.2.3-55-g6feb