Skip to content

Commit

Permalink
only use versions ubuntu-20.04, windows-2019 and macos-12
Browse files Browse the repository at this point in the history
  • Loading branch information
deinhofer authored Sep 26, 2024
1 parent 61bf746 commit 68bea64
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
- v[0-9]+.[0-9]+.[0-9]+
jobs:
version:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
version: ${{ steps.version.outputs.version || steps.custom.outputs.version || steps.tag.outputs.version }}
steps:
Expand All @@ -37,7 +37,7 @@ jobs:
needs: version
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-20.04]
os: [ubuntu-20.04]
uses: ./.github/workflows/release-linux.yml
with:
version: ${{ needs.version.outputs.version }}
Expand All @@ -46,7 +46,7 @@ jobs:
needs: version
strategy:
matrix:
os: [windows-2022, windows-2019]
os: [windows-2019]
uses: ./.github/workflows/release-windows.yml
with:
version: ${{ needs.version.outputs.version }}
Expand All @@ -55,14 +55,14 @@ jobs:
needs: version
strategy:
matrix:
os: [macos-12, macos-11]
os: [macos-12]
uses: ./.github/workflows/release-mac.yml
with:
version: ${{ needs.version.outputs.version }}
platform: ${{ matrix.os }}
release:
needs: [version, linux, windows, mac]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
upload_url: ${{ steps.release.outputs.upload_url }} # Set job-level output
if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || (github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'true')
Expand All @@ -81,8 +81,8 @@ jobs:
needs: [version, release]
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-20.04]
runs-on: ubuntu-latest
os: [ubuntu-20.04]
runs-on: ubuntu-20.04
steps:
- name: Download .deb Artifact
uses: actions/download-artifact@v2
Expand All @@ -101,8 +101,8 @@ jobs:
needs: [version, release]
strategy:
matrix:
os: [windows-2022, windows-2019]
runs-on: ubuntu-latest
os: [windows-2019]
runs-on: ubuntu-20.04
steps:
- name: Download .exe Artifact
uses: actions/download-artifact@v2
Expand All @@ -121,8 +121,8 @@ jobs:
needs: [version, release]
strategy:
matrix:
os: [macos-12, macos-11]
runs-on: ubuntu-latest
os: [macos-12]
runs-on: ubuntu-20.04
steps:
- name: Download .dmg Artifact
uses: actions/download-artifact@v2
Expand Down

0 comments on commit 68bea64

Please sign in to comment.