Skip to content

Commit

Permalink
fixup! Add support for OpenBSD 7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-carlborg committed Apr 9, 2024
1 parent 17847c8 commit 136af88
Showing 1 changed file with 29 additions and 25 deletions.
54 changes: 29 additions & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,29 +60,33 @@ jobs:
if: matrix.architecture == 'arm64'
run: curl -o resources/qemu_efi.fd -L https://releases.linaro.org/components/kernel/uefi-linaro/latest/release/qemu64/QEMU_EFI.fd

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3

# - name: Build Image
# run: |
# PACKER_LOG=1 ./build.sh \
# '${{ matrix.version }}' \
# '${{ matrix.architecture }}' \
# -var 'headless=true' \
# -var 'readonly_boot_media=false'
#
# - name: Extract Version
# id: version
# if: startsWith(github.ref, 'refs/tags/v')
# run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
#
# - name: Create Release
# id: create_release
# if: startsWith(github.ref, 'refs/tags/v')
# uses: softprops/action-gh-release@v1
# with:
# name: OpenBSD ${{ steps.version.outputs.VERSION }}
# draft: true
# files: output/*
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build Image
run: |
PACKER_LOG=1 ./build.sh \
'${{ matrix.version }}' \
'${{ matrix.architecture }}' \
-var 'headless=true' \
-var 'readonly_boot_media=false'
- name: Log
if: failure()
run: cat log.txt

- name: Extract Version
id: version
if: startsWith(github.ref, 'refs/tags/v')
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}

- name: Create Release
id: create_release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
name: OpenBSD ${{ steps.version.outputs.VERSION }}
draft: true
files: output/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 136af88

Please sign in to comment.