Fix Forgejo compatibility: use ubuntu-latest and actions@v3
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 2s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 2s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
This commit is contained in:
parent
4a9c19ef1c
commit
25a684578a
3 changed files with 15 additions and 15 deletions
|
|
@ -15,10 +15,10 @@ env:
|
|||
jobs:
|
||||
build-libostree-backport:
|
||||
name: Build libostree Backport
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup build environment
|
||||
run: |
|
||||
|
|
@ -64,7 +64,7 @@ jobs:
|
|||
dpkg-buildpackage -us -uc -b
|
||||
|
||||
- name: Upload libostree artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: libostree-backport-packages
|
||||
path: /opt/Projects/ostree-backport-noble/*.deb
|
||||
|
|
@ -72,14 +72,14 @@ jobs:
|
|||
|
||||
build-bootc:
|
||||
name: Build bootc Package
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-libostree-backport
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Download libostree artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: libostree-backport-packages
|
||||
path: /tmp/libostree-packages
|
||||
|
|
@ -115,7 +115,7 @@ jobs:
|
|||
dpkg-buildpackage -us -uc -b
|
||||
|
||||
- name: Upload bootc artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: bootc-packages
|
||||
path: bootc-${BOOTC_VERSION}/../*.deb
|
||||
|
|
@ -123,11 +123,11 @@ jobs:
|
|||
|
||||
create-artifacts:
|
||||
name: Create Combined Artifacts
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-libostree-backport, build-bootc]
|
||||
steps:
|
||||
- name: Download all artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: /tmp/artifacts
|
||||
|
||||
|
|
@ -138,7 +138,7 @@ jobs:
|
|||
cp /tmp/artifacts/bootc-packages/*.deb release-assets/ 2>/dev/null || true
|
||||
|
||||
- name: Upload combined artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: release-assets
|
||||
path: release-assets/
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@ env:
|
|||
jobs:
|
||||
test-bootc-build:
|
||||
name: Test bootc Build (with existing libostree)
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup build environment
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -9,16 +9,16 @@ on:
|
|||
jobs:
|
||||
update-readme:
|
||||
name: Update README with Artifact Links
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Download artifacts from previous workflow
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: release-assets
|
||||
path: /tmp/artifacts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue