tirbofish/dropbear · commit
5049688d93f05eda2d041d42358d62c63b396c5e
Update create_executable.yaml
jarvis, run github actions
Signature present but could not be verified.
Unverified
@@ -7,7 +7,7 @@ on: workflow_dispatch: jobs: build: - if: contains(github.event.head_commit.message, 'jarvis, run github actions') || github.event_name == 'workflow_dispatch' + if: contains(github.event.head_commit.message, 'jarvis, run github actions') || github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request' name: Build for ${{ matrix.os_name }} runs-on: ${{ matrix.os }} strategy: @@ -65,17 +65,16 @@ jobs: mkdir -p dist/libs cp target/${{ matrix.target }}/release/eucalyptus-editor${{ matrix.ext }} dist/ if [ "${{ matrix.os }}" = "windows-latest" ]; then - cp target/release/eucalyptus_core.dll dist/ 2>/dev/null || true - cp target/release/eucalyptus_core.dll.lib dist/ 2>/dev/null || true + cp target/${{ matrix.target }}/release/eucalyptus_core.dll dist/ 2>/dev/null || true + cp target/${{ matrix.target }}/release/eucalyptus_core.dll.lib dist/ 2>/dev/null || true elif [ "${{ matrix.os }}" = "ubuntu-latest" ]; then - cp target/release/libeucalyptus_core.so dist/ 2>/dev/null || true + cp target/${{ matrix.target }}/release/libeucalyptus_core.so dist/ 2>/dev/null || true elif [ "${{ matrix.os }}" = "macos-latest" ]; then - cp target/release/libeucalyptus_core.dylib dist/ 2>/dev/null || true - cp README.md dist/ + cp target/${{ matrix.target }}/release/libeucalyptus_core.dylib dist/ 2>/dev/null || true fi shell: bash - name: upload uses: actions/upload-artifact@v4 with: name: executables-${{ matrix.os_name }} - path: dist/ + path: dist/