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 541bee5 commit 3d1d1f2
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:
fail-fast: false
matrix:
version:
- 6.8
- 6.9
- 7.1
- 7.2
# - 6.8
# - 6.9
# - 7.1
# - 7.2
- 7.3
- 7.4
- 7.5
# - 7.4
# - 7.5

architecture:
- x86-64
- arm64
# - arm64

steps:
- name: Clone Repository
Expand Down Expand Up @@ -60,29 +60,29 @@ 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: 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 3d1d1f2

Please sign in to comment.