hopefully last workflow fix
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 2m3s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m7s
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 2m3s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m7s
This commit is contained in:
parent
1c74c5fe23
commit
2b51b8cba3
1 changed files with 36 additions and 11 deletions
|
|
@ -14,16 +14,27 @@ jobs:
|
|||
image: ubuntu:latest
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Setup environment
|
||||
run: |
|
||||
apt update -y
|
||||
apt install -y git curl
|
||||
|
||||
- name: Download artifacts from previous workflow
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: release-assets
|
||||
path: /tmp/artifacts
|
||||
- name: Checkout repository manually
|
||||
run: |
|
||||
# Clone the repository manually instead of using actions/checkout
|
||||
git clone https://git.raines.xyz/robojerk/bootc-deb.git /tmp/bootc-deb
|
||||
cp -r /tmp/bootc-deb/* .
|
||||
cp -r /tmp/bootc-deb/.* . 2>/dev/null || true
|
||||
|
||||
- name: Download artifacts manually
|
||||
run: |
|
||||
# Create artifacts directory
|
||||
mkdir -p /tmp/artifacts
|
||||
|
||||
# Note: Manual artifact download would require API calls
|
||||
# For now, we'll create a placeholder or skip this step
|
||||
echo "Manual artifact download not implemented yet"
|
||||
echo "This would require Forgejo API calls to download artifacts"
|
||||
|
||||
- name: Generate download section
|
||||
run: |
|
||||
|
|
@ -67,9 +78,23 @@ jobs:
|
|||
echo "" >> /tmp/download_section.md
|
||||
echo "*Last updated: $(date -u '+%Y-%m-%d %H:%M UTC')*" >> /tmp/download_section.md
|
||||
else
|
||||
echo "No packages found in artifacts." >> /tmp/download_section.md
|
||||
echo "### Download Links" >> /tmp/download_section.md
|
||||
echo "" >> /tmp/download_section.md
|
||||
echo "Check the Actions tab for build status." >> /tmp/download_section.md
|
||||
echo "Packages are being built. Check the Actions tab for build status and download links." >> /tmp/download_section.md
|
||||
echo "" >> /tmp/download_section.md
|
||||
echo "### Installation Instructions" >> /tmp/download_section.md
|
||||
echo "" >> /tmp/download_section.md
|
||||
echo '```bash' >> /tmp/download_section.md
|
||||
echo "# Download and install libostree backport first" >> /tmp/download_section.md
|
||||
echo "sudo dpkg -i <libostree-package-name>.deb" >> /tmp/download_section.md
|
||||
echo "sudo apt --fix-broken install -y" >> /tmp/download_section.md
|
||||
echo "" >> /tmp/download_section.md
|
||||
echo "# Then install bootc" >> /tmp/download_section.md
|
||||
echo "sudo dpkg -i <bootc-package-name>.deb" >> /tmp/download_section.md
|
||||
echo "sudo apt --fix-broken install -y" >> /tmp/download_section.md
|
||||
echo '```' >> /tmp/download_section.md
|
||||
echo "" >> /tmp/download_section.md
|
||||
echo "*Last updated: $(date -u '+%Y-%m-%d %H:%M UTC')*" >> /tmp/download_section.md
|
||||
fi
|
||||
|
||||
- name: Update README
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue