Skip to content

Commit

Permalink
Fix build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ryukau committed Dec 4, 2023
1 parent 376a0e1 commit 82263d7
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
on:
workflow_dispatch:
push:
branches:
- '*'
branches-ignore:
- 'master'
- 'docs'
Expand All @@ -25,7 +23,7 @@ jobs:
- name: Run script
run: ci/ci_ubuntu.sh
- name: Upload
if: ${{ startsWith(github.ref, 'refs/tags/') }}
# if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v3
with:
name: vst_ubuntu
Expand All @@ -41,7 +39,7 @@ jobs:
- name: Run script
run: ci/ci_windows.ps1
- name: Upload
if: ${{ startsWith(github.ref, 'refs/tags/') }}
# if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v3
with:
name: vst_windows
Expand All @@ -57,7 +55,7 @@ jobs:
- name: Run script
run: ci/ci_macOS.sh
- name: Upload
if: ${{ startsWith(github.ref, 'refs/tags/') }}
# if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v3
with:
name: vst_macOS
Expand All @@ -66,7 +64,7 @@ jobs:
release-packaging:
needs: [build-ubuntu, build-windows, build-macOS]
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/UhhyouPlugins') }}
# if: ${{ startsWith(github.ref, 'refs/tags/UhhyouPlugins') }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -85,15 +83,20 @@ jobs:
python3 pack.py
echo "Run studiorack.py"
python3 studiorack.py
- name: Get Release Notes
run: 'echo "$(git tag -l --format="%(contents:body)" $GITHUB_REF_NAME)" > RELEASE_NOTES'
- name: Release
uses: softprops/action-gh-release@v1
- name: Upload
uses: actions/upload-artifact@v3
with:
body_path: RELEASE_NOTES
files: |
${{ env.package_path }}/pack_macOS/*.zip
${{ env.package_path }}/pack/*.zip
${{ env.package_path }}/pack/*.png
${{ env.package_path }}/pack/plugins.json
${{ env.package_path }}/audiosample/*.flac
name: vst_full
path: ${{ env.package_path }}
# - name: Get Release Notes
# run: 'echo "$(git tag -l --format="%(contents:body)" $GITHUB_REF_NAME)" > RELEASE_NOTES'
# - name: Release
# uses: softprops/action-gh-release@v1
# with:
# body_path: RELEASE_NOTES
# files: |
# ${{ env.package_path }}/pack_macOS/*.zip
# ${{ env.package_path }}/pack/*.zip
# ${{ env.package_path }}/pack/*.png
# ${{ env.package_path }}/pack/plugins.json
# ${{ env.package_path }}/audiosample/*.flac

0 comments on commit 82263d7

Please sign in to comment.