Skip to content

Update Create Install Media.command #29

Update Create Install Media.command

Update Create Install Media.command #29

Workflow file for this run

name: Download_Install_macOS
on:
push:
pull_request:
workflow_dispatch:
jobs:
build-macos:
name: Build Download_Install_macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Manage Version
run: |
git fetch --prune --unshallow --tags
echo "CUR_TAG=$(git tag -l | tail -1)" >> $GITHUB_ENV
echo "GIT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Build Download_Install_macOS
run: |
chmod +x ./CreateBuild.sh
chmod +x ./makefile
- name: Prepare Release
run: |
make
(cd "build/" || exit 1)
releaseItems=(build/Release)
for releaseItem in "${releaseItems[@]}"; do cp -Rf "${releaseItem}" ./ || exit 1; done
- name: 'Tar files'
run: tar -cvf ./build/Release.tar ./build/Release
- name: Upload to Artifacts
uses: actions/upload-artifact@v4
with:
name: Download_Install_macOS${{ env.GIT_SHA }}
path: |
build/Release.tar