Update .gitea/workflows/build-iso.yml
Some checks failed
Build ISO and Upload Artifact / build-and-upload (push) Failing after 2m0s
Some checks failed
Build ISO and Upload Artifact / build-and-upload (push) Failing after 2m0s
This commit is contained in:
@@ -12,38 +12,32 @@ jobs:
|
|||||||
RUNNER_TOOL_CACHE: /toolcache
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Make a file with a lot of repeated text
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
for i in {1..100000}; do echo -n 'foobar' >> foobar.txt; done
|
sudo apt update
|
||||||
- uses: actions/upload-artifact@v3
|
sudo apt install -y clang lld mtools xorriso
|
||||||
with:
|
|
||||||
name: my-artifact
|
|
||||||
path: foobar.txt
|
|
||||||
compression-level: 9 # maximum compression
|
|
||||||
# - name: Checkout code
|
|
||||||
# uses: actions/checkout@v4
|
|
||||||
|
|
||||||
# - name: Install dependencies
|
- name: Clone edk2
|
||||||
# run: |
|
run: |
|
||||||
# sudo apt update
|
git clone https://github.com/tianocore/edk2.git ./edk2
|
||||||
# sudo apt install -y clang lld mtools xorriso
|
|
||||||
|
|
||||||
# - name: Clone edk2
|
- name: Make scripts executable
|
||||||
# run: |
|
run: chmod +x ./scripts/build_c.sh ./scripts/out_to_iso.sh
|
||||||
# git clone https://github.com/tianocore/edk2.git ./edk2
|
|
||||||
|
|
||||||
# - name: Make scripts executable
|
- name: Run build_c.sh
|
||||||
# run: chmod +x ./scripts/build_c.sh ./scripts/out_to_iso.sh
|
run: ./scripts/build_c.sh
|
||||||
|
|
||||||
# - name: Run build_c.sh
|
- name: Run out_to_iso.sh
|
||||||
# run: ./scripts/build_c.sh
|
run: ./scripts/out_to_iso.sh
|
||||||
|
|
||||||
# - name: Run out_to_iso.sh
|
- name: Commit and push to Lints-release repo
|
||||||
# run: ./scripts/out_to_iso.sh
|
run: |
|
||||||
|
git config user.name "GitHub Actions"
|
||||||
# - name: Upload ISO artifact
|
git config user.email "github-actions@github.com"
|
||||||
# uses: actions/upload-artifact@v2
|
git remote add target_repo https://x-access-token:${{ secrets.DEPLOYMENT_TOKEN }}@git.martinpetr.dev/marti/Lints-release.git
|
||||||
# with:
|
git add out/lints.iso
|
||||||
# include-hidden-files: true
|
git commit -m "Automated commit from build workflow" || echo "No changes to commit"
|
||||||
# name: built-iso
|
git push target_repo main
|
||||||
# path: ./out/lints.iso
|
|
||||||
|
|||||||
Reference in New Issue
Block a user