Skip to content

Commit

Permalink
Update gearboy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius authored Feb 25, 2024
1 parent e2744c5 commit c544594
Showing 1 changed file with 13 additions and 29 deletions.
42 changes: 13 additions & 29 deletions .github/workflows/gearboy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,44 +194,28 @@ jobs:
- name: Prepare release directory
run: |
mkdir -p release
- name: Download Windows artifact
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-windows
path: release
- name: Download macOS Intel artifact
uses: actions/download-artifact@v4
with:
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-macos-intel
path: release
- name: Download macOS ARM artifact
uses: actions/download-artifact@v4
with:
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-macos-arm
path: release
- name: Download Ubuntu 22.04 artifact
uses: actions/download-artifact@v4
with:
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-ubuntu-22.04
path: release
- name: Download Ubuntu 20.04 artifact
uses: actions/download-artifact@v4
with:
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-ubuntu-20.04
path: release
- name: Download BSD artifact
uses: actions/download-artifact@v4
with:
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-bsd
pattern: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-*
path: release
- name: Zip directories
run: |
ls -lsR release
cd release
for d in */ ; do
cd $d
zip -r ../$d.zip *
cd ..
done
- name: Create release
run: |
cd release
ls -lsR
gh release create ${{ github.ref }} \
'${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-windows.zip' \
'${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-macos-13.zip' \
'${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-macos-14.zip' \
'${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-macos-intel.zip' \
'${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-macos-arm.zip' \
'${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-ubuntu-22.04.zip' \
'${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-ubuntu-20.04.zip' \
'${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-bsd.zip' \
Expand Down

0 comments on commit c544594

Please sign in to comment.