📝 updated changelog.md #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub Actions to build and release a project | |
# Gigabyte B85M-GAMING-3 Hackintosh EFI | |
on: | |
push: | |
tags: | |
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
name: Uploud EFI to Release | |
jobs: | |
build: | |
name: Upload Release Asset | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- 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: Generate release tag | |
id: tag | |
run: | | |
echo "::set-output name=release_tag::$(cat ReleaseTag.txt)" | |
cat ReleaseTag.txt | |
- name: Upload Release Asset | |
id: upload-release-asset | |
uses: softprops/action-gh-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
name: Release ${{ steps.tag.outputs.release_tag }} | |
tag_name: ${{ steps.tag.outputs.release_tag }} | |
prerelease: false | |
draft: false | |
body_path: changelog.md | |
files: | | |
./*.zip |