Skip to content

Commit

Permalink
Merge branch 'main' into qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
vejmarie authored Dec 4, 2024
2 parents 9ef9707 + 4bda6b5 commit b172759
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!

# Runs a set of commands using the runners shell
- name: Building AMD64 image
run: |
chmod 755 ./build.sh
/bin/bash -c './build.sh -a x86_64'
- name: Building ARM64 image
run: |
/bin/bash -c './build.sh -a aarch64 -q'
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
run: |
chmod 755 ./build.sh
/bin/bash -c './build.sh -a x86_64'
- name: Building ARM64 image
run: |
chmod 755 ./build.sh
/bin/bash -c './build.sh -a aarch64 -q'
zip --junk-paths images.zip ./linux_x86_64.img.gz ./linux_aarch64.img.gz
- name: Create Draft Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -44,8 +49,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./linux_x86_64.img.gz
asset_name: linux_x86_64.zip
asset_path: ./images.zip
asset_name: images.zip
asset_content_type: application/zip

- uses: eregon/publish-release@v1
Expand Down

0 comments on commit b172759

Please sign in to comment.