diff options
| author | Theo Buehler <tb@openbsd.org> | 2024-08-25 21:27:46 +0200 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2024-08-25 21:27:46 +0200 |
| commit | abfed949eb7f937e0c4a5774d5574285c368d969 (patch) | |
| tree | 747a959a7ae0c5775c05d5c02dec990733ea7c77 | |
| parent | 935753a1e673f0ed88e8f1cfd71380bb9beaab25 (diff) | |
| parent | 14e8325c5ac53ad30cda03a9d635301b6bd55860 (diff) | |
| download | portable-abfed949eb7f937e0c4a5774d5574285c368d969.tar.gz portable-abfed949eb7f937e0c4a5774d5574285c368d969.tar.bz2 portable-abfed949eb7f937e0c4a5774d5574285c368d969.zip | |
Land #1090 - update CI actions
| -rw-r--r-- | .github/workflows/cifuzz.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/cmake_config.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/fedora-rawhide.yml | 2 | ||||
| -rw-r--r-- | .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: | |||
| 26 | dry-run: false | 26 | dry-run: false |
| 27 | language: c++ | 27 | language: c++ |
| 28 | - name: Upload Crash | 28 | - name: Upload Crash |
| 29 | uses: actions/upload-artifact@v3 | 29 | uses: actions/upload-artifact@v4 |
| 30 | if: failure() && steps.build.outcome == 'success' | 30 | if: failure() && steps.build.outcome == 'success' |
| 31 | with: | 31 | with: |
| 32 | name: artifacts | 32 | 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: | |||
| 37 | if: runner.os == 'macOS' | 37 | if: runner.os == 'macOS' |
| 38 | run: brew install automake libtool | 38 | run: brew install automake libtool |
| 39 | 39 | ||
| 40 | - uses: actions/checkout@main | 40 | - uses: actions/checkout@v4 |
| 41 | 41 | ||
| 42 | - name: Prepare source tree for build (Windows) | 42 | - name: Prepare source tree for build (Windows) |
| 43 | if: runner.os == 'Windows' | 43 | 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: | |||
| 23 | container: | 23 | container: |
| 24 | image: fedora:rawhide | 24 | image: fedora:rawhide |
| 25 | steps: | 25 | steps: |
| 26 | - uses: actions/checkout@v3 | 26 | - uses: actions/checkout@v4 |
| 27 | - name: Install dependencies | 27 | - name: Install dependencies |
| 28 | run: | | 28 | run: | |
| 29 | dnf -y install git make clang cmake ninja-build autoconf automake libtool diffutils patch | 29 | 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: | |||
| 29 | 29 | ||
| 30 | - name: "Create GitHub release" | 30 | - name: "Create GitHub release" |
| 31 | id: create_release | 31 | id: create_release |
| 32 | uses: softprops/action-gh-release@v1 | 32 | uses: softprops/action-gh-release@v2 |
| 33 | with: | 33 | with: |
| 34 | body_path: "${{ github.workspace }}/release-changelog.txt" | 34 | body_path: "${{ github.workspace }}/release-changelog.txt" |
| 35 | 35 | ||
| @@ -72,14 +72,10 @@ jobs: | |||
| 72 | run: cmake --install build --config Release | 72 | run: cmake --install build --config Release |
| 73 | 73 | ||
| 74 | - shell: pwsh | 74 | - shell: pwsh |
| 75 | run: Compress-Archive -Path local\* local.zip | 75 | run: Compress-Archive -Path local\* "libressl_${{ github.ref_name }}_windows_${{ matrix.arch }}.zip" |
| 76 | 76 | ||
| 77 | - name: "Upload release artifact" | 77 | - name: "Upload release artifact" |
| 78 | uses: actions/upload-release-asset@v1 | 78 | uses: softprops/action-gh-release@v2 |
| 79 | env: | ||
| 80 | GITHUB_TOKEN: "${{ github.token }}" | ||
| 81 | with: | 79 | with: |
| 82 | upload_url: "${{ needs.release.outputs.upload_url }}" | 80 | files: | |
| 83 | asset_path: "local.zip" | 81 | libressl_${{ github.ref_name }}_windows_${{ matrix.arch }}.zip |
| 84 | asset_name: "libressl_${{ github.ref_name }}_windows_${{ matrix.arch }}.zip" | ||
| 85 | asset_content_type: "application/zip" | ||
