diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index 67c9b0edcf..282bc95bc2 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -6,12 +6,10 @@ on: jobs: BuildLinux: - runs-on: ubuntu-22.04 - env: - platform_version: 22.04 + runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@main with: fetch-depth: 0 @@ -70,7 +68,7 @@ jobs: runs-on: macos-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@main with: fetch-depth: 0 @@ -90,7 +88,7 @@ jobs: mv LibreCAD.dmg LibreCAD-`git describe --always`.dmg - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: assets path: LibreCAD*.dmg @@ -100,7 +98,7 @@ jobs: runs-on: windows-2019 steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@main with: fetch-depth: 0 @@ -193,7 +191,7 @@ jobs: runs-on: windows-2019 steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@main with: fetch-depth: 0 @@ -285,15 +283,15 @@ jobs: UpdateAssets: if: github.repository_owner == 'LibreCAD' needs: [BuildLinux, BuildMacOS, BuildWindows, BuildWindows64] - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@main with: fetch-depth: 0 - name: Fetch artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Upload latest pre-release uses: "marvinpinto/action-automatic-releases@latest"