Skip to content

Commit

Permalink
🧱 ci: updating workflow for simultaneous EPI builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilberto-Mascena committed Aug 21, 2024
1 parent 100a03b commit e6cf319
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#Github Actions to create a release and release project
#Gigabyte Z390M GAMING Hackintosh EFI
# GitHub Actions to build and release a project
# Gigabyte B85M-GAMING-3 Hackintosh EFI

on:
push:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Uploud EFI to Release

Expand All @@ -16,11 +16,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Packaging EFIs
run: |
zip -q -r EFI.zip ./EFI
- name: Packaging EFIs
run: |
zip -q -r Z390M-GAMING-WIFI-BROADCOM-SONOMA.zip ./Z390M-GAMING-WIFI-BROADCOM-SONOMA
zip -q -r Z390M-GAMING-WIFI-BROADCOM-VENTURA-BEFORE.zip ./Z390M-GAMING-WIFI-BROADCOM-VENTURA-BEFORE
ls -l *.zip
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -35,11 +36,13 @@ jobs:

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./EFI.zip
asset_name: EFI.zip
asset_content_type: application/zip
name: Release v1.0.1.0
prerelease: false
draft: false
body_path: changelog.md
files: |
./*.zip

0 comments on commit e6cf319

Please sign in to comment.